hpipe (HPIPE) - input
The server handle is returned by DosCreateNPipe; the client handle is returned by DosOpen.
pState (PULONG) - output
This parameter contains the following bit fields:
Bit
DosRead normally blocks 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 immediately with 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
00
Value
ulrc (APIRET) - returns
DosQueryNPHState returns one of the following values: