[Toc][Index]

DosQNmPipeSemState



typedef struct   npss  {        /* QNmPipeSemState information record */
   UCHAR  npss_status;          /* type of record, 0=EOI, 1=read ok,  */
                                /*   2 = write ok, 3 = pipe closed    */
   UCHAR  npss_flag;            /* additional info, 01=waiting thread */
   USHORT npss_key;             /* user's key value                   */
   USHORT npss_avail;           /* available data/space if status=1/2 */
}; /* npss */

#define INCL_DOSNMPIPES

USHORT  rc = DosQNmPipeSemState(SemHandle, InfoBuf, InfoBufLen);

HSEM             SemHandle;     /* Semaphore handle */
PBYTE            InfoBuf;       /* Address of returned info */
USHORT           InfoBufLen;    /* Length of InfoBuf */

USHORT           rc;            /* return code */


Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs