This call returns information for a named pipe's specific handle state.
DosQNmPHandState
Handle (HPIPE) - input
Bit
0 = Reads/Writes block if no data available.
1 = Reads/Writes return immediately if no data available.
Reads normally block until at least partial data can be returned. Writes, by default, block until all bytes requested have been written. Non-blocking mode (value is 1) changes this behavior as follows:
0 = Handle is the client end of a named pipe.
1 = Handle is the server (requester) end of a named pipe.
00 = Pipe is a byte stream pipe.
01 = Pipe is a message stream pipe.
00 = Read pipe as a byte stream.
01 = Read pipe as a message stream.
At the serving end, the values returned by DosQNmPHandState are those originally established by DosMakeNmPipe or a subsequent DosSetNmPHandState. The values returned by the client end are those originally established by DosOpen or a subsequent DosSetNmPHandState.