Pipe Functions

The following function is used with anonymous pipes.

FunctionDescription
CreatePipeCreates an anonymous pipe.

 

The following functions are used with named pipes.

FunctionDescription
CallNamedPipeConnects to a message-type pipe, writes to and reads from the pipe, and then closes the pipe.
ConnectNamedPipeEnables a named pipe server process to wait for a client process to connect to an instance of a named pipe.
CreateNamedPipeCreates an instance of a named pipe and returns a handle for subsequent pipe operations.
DisconnectNamedPipeDisconnects the server end of a named pipe instance from a client process.
GetNamedPipeClientComputerNameRetrieves the client computer name for the specified named pipe.
GetNamedPipeClientProcessIdRetrieves the client process identifier for the specified named pipe.
GetNamedPipeClientSessionIdRetrieves the client session identifier for the specified named pipe.
GetNamedPipeHandleStateRetrieves information about a specified named pipe.
GetNamedPipeInfoRetrieves information about the specified named pipe.
GetNamedPipeServerProcessIdRetrieves the server process identifier for the specified named pipe.
GetNamedPipeServerSessionIdRetrieves the server session identifier for the specified named pipe.
PeekNamedPipeCopies data from a named or anonymous pipe into a buffer without removing it from the pipe.
SetNamedPipeHandleStateSets the read mode and the blocking mode of the specified named pipe.
TransactNamedPipeCombines the functions that write a message to and read a message from the specified named pipe into a single network operation.
WaitNamedPipeWaits until either a time-out interval elapses or an instance of the specified named pipe is available for a connection.

 

Send comments about this topic to Microsoft

Build date: 11/12/2009

Tags :


Page view tracker