2.1.4.1 Pipes

Functions

Name Brief Example


CallNamedPipe Connects to a message-type pipe, writes to and reads from the pipe, and then closes the pipe.
ConnectNamedPipe Enables a named pipe server process to wait for a client process to connect to an instance of a named pipe.
CreateNamedPipe Creates an instance of a named pipe and returns a handle for subsequent pipe operations.
CreatePipe Creates an anonymous pipe, and returns handles to the read and write ends of the pipe.
CreateThread Creates a thread to execute within the virtual address space of the calling process.
DisconnectNamedPipe Disconnects the server end of a named pipe instance from a client process.
FlushFileBuffers Flushes the buffers of a specified file and causes all buffered data to be written to a file.
GetLastError Retrieves the calling thread's last-error code value. The last-error code is maintained on a per-thread basis.
GetNamedPipeHandleState Retrieves information about a specified named pipe. The information returned can vary during the lifetime of an instance of the named pipe.
GetNamedPipeInfo Retrieves information about the specified named pipe.
PeekNamedPipe Copies data from a named or anonymous pipe into a buffer without removing it from the pipe. It also returns information about data in the pipe.
ReadFile Reads data from a file, and starts at the position that the file pointer indicates. You can use this function for both synchronous and asynchronous operations.
SetLastError Sets the last-error code for the calling thread.
SetNamedPipeHandleState Sets the read mode and the blocking mode of the specified named pipe.
TransactNamedPipe Combines the functions that write a message to and read a message from the specified named pipe into a single network operation.
WaitNamedPipe Waits until either a time-out interval elapses or an instance of the specified named pipe is available for connection.