hpipe (HPIPE) - input
The server handle is returned by DosCreateNPipe; the client handle is returned by DosOpen.
state (ULONG) - input
This parameter consists of the following bit fields:
Bit
DosRead normally blocks (waits) until at least partial data can be returned. DosWrite blocks by default until all of the requested bytes have been written. Nonblocking mode changes this behavior as follows:
DosRead returns immediately with a value of zero for pcbActual if no data is available.
DosWrite returns a value of zero for pcbActual if there is not enough buffer space available in the pipe; otherwise, the entire data area is transferred.
00
ulrc (APIRET) - returns
DosSetNPHState returns one of the following values: