DosQNmPipeSemState
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 */
[Back: DosQNmPipeInfo]
[Next: DosQPathInfo]