#ifndef _NTIOAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// pub
typedef struct _NAMED_PIPE_CREATE_PARAMETERS
{
ULONG NamedPipeType;
ULONG ReadMode;
ULONG CompletionMode;
ULONG MaximumInstances;
ULONG InboundQuota;
ULONG OutboundQuota;
LARGE_INTEGER DefaultTimeout;
BOOLEAN TimeoutSpecified;
} NAMED_PIPE_CREATE_PARAMETERS, *PNAMED_PIPE_CREATE_PARAMETERS;
View code on GitHub// wdm.h
typedef struct _NAMED_PIPE_CREATE_PARAMETERS {
ULONG NamedPipeType;
ULONG ReadMode;
ULONG CompletionMode;
ULONG MaximumInstances;
ULONG InboundQuota;
ULONG OutboundQuota;
LARGE_INTEGER DefaultTimeout;
BOOLEAN TimeoutSpecified;
} NAMED_PIPE_CREATE_PARAMETERS, *PNAMED_PIPE_CREATE_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
The NAMED_PIPE_CREATE_PARAMETERS structure is used by the Windows subsystem to create a named pipe.
NamedPipeTypeType of named pipe to create.
ReadModeMode in which to read the pipe.
CompletionModeSpecifies how the operation is to be completed.
MaximumInstancesMaximum number of simultaneous instances of the named pipe.
InboundQuotaPool quota that is reserved for writes to the inbound side of the named pipe.
OutboundQuotaPool quota that is reserved for writes to the outbound side of the named pipe.
DefaultTimeoutPointer to a timeout value to use if a timeout value is not specified when waiting for an instance of a named pipe. This member is optional and can be set to NULL.
TimeoutSpecifiedBoolean value that specifies whether a pointer to a timeout period was provided in the DefaultTimeout member.
For an IRP_MJ_CREATE_NAMED_PIPE operation, FLT_PARAMETERS is a CreatePipe structure, and CreatePipe.Parameters points to a NAMED_PIPE_CREATE_PARAMETERS structure that describes the named pipe to create or open.