Group: Pipe - Library: kernel32
Enables a named pipe server process to wait for a client process to connect to an instance of a named pipe.
Using named pipes for interprocess communication
BOOL ConnectNamedPipe(
HANDLE hNamedPipe,
LPOVERLAPPED lpOverlapped
);
DECLARE INTEGER ConnectNamedPipe IN kernel32;
INTEGER hNamedPipe,;
INTEGER lpOverlapped
hNamedPipe [in] A handle to the server end of a named pipe instance. This handle is returned by the CreateNamedPipe function.
lpOverlapped [in] A pointer to an OVERLAPPED structure.
If the function succeeds, the return value is nonzero.
A client process connects by calling either the CreateFile or CallNamedPipe function.
See also: DisconnectNamedPipe, CloseHandle.