EXTRN DosPeekNmPipe:FAR INCL_DOSNMPIPES EQU 1 PUSH WORD Handle ;Pipe handle PUSH@ OTHER Buffer ;User buffer PUSH WORD BufferLen ;Buffer length PUSH@ WORD BytesRead ;Bytes read (returned) PUSH@ DWORD BytesAvail ;Bytes available (returned) PUSH@ WORD PipeState ;Pipe state (returned) CALL DosPeekNmPipe Returns WORD