SetNamedPipeHandleState function kernel32
Sets the read mode and the blocking mode of the specified named pipe. If the specified handle is to the client end of a named pipe and if the named pipe server process is on a remote computer, the function can also be used to control local buffering.
BOOL SetNamedPipeHandleState(
HANDLE hNamedPipe,
LPDWORD lpMode,
LPDWORD lpMaxCollectionCount,
LPDWORD lpCollectDataTimeout);
Implementation
int SetNamedPipeHandleState(
int hNamedPipe,
Pointer<Uint32> lpMode,
Pointer<Uint32> lpMaxCollectionCount,
Pointer<Uint32> lpCollectDataTimeout) =>
_SetNamedPipeHandleState(
hNamedPipe, lpMode, lpMaxCollectionCount, lpCollectDataTimeout);