Undocumented functions of NTDLL

2OO1, 1 March


NtCreateNamedPipeFile
NtCreateNamedPipeFile

NTSYSAPI 
NTSTATUS
NTAPI

NtCreateNamedPipeFile(
OUT PHANDLE NamedPipeFileHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PIO_STATUS_BLOCK IoStatusBlock, IN ULONG ShareAccess, IN ULONG CreateDisposition, IN ULONG CreateOptions, IN BOOLEAN WriteModeMessage, IN BOOLEAN ReadModeMessage, IN BOOLEAN NonBlocking, IN ULONG MaxInstances, IN ULONG InBufferSize, IN ULONG OutBufferSize, IN PLARGE_INTEGER DefaultTimeOut );



Function NtCreateNamedPipeFile creates Named Pipe File Object. Named Pipes are especial kind of files, so all functionality is provided with file's functions like NtReadFile, NtWriteFile etc.
Named Pipes are frequently used in NT system, for example as stdin and stdout handles.



Also combination of Generic rights are supported.
Requirements:
Library: ntdll.lib


See also:
FILE_INFORMATION_CLASS
FILE_PIPE_INFORMATION
FILE_PIPE_LOCAL_INFORMATION
FILE_PIPE_REMOTE_INFORMATION
NtFsControlFile
NtQueryInformationFile
NtReadFile
NtSetInformationFile
NtWriteFile