rc = DosQueryNPHState(hpipeHandle, pPipeHandleState);