DosPeekQueue
DosPeekQueue
#define INCL_DOSQUEUES
USHORT rc = DosPeekQueue(QueueHandle, Request, DataLength, DataAddress,
ElementCode, NoWait, ElemPriority,
SemaphoreHandle);
HQUEUE QueueHandle; /* Queue handle */
PULONG Request; /* Request identification data
(returned) */
PUSHORT DataLength; /* Length of element received
(returned) */
PULONG DataAddress; /* Address of element received
(returned) */
PUSHORT ElementCode; /* Indicator of element received
(returned) */
UCHAR NoWait; /* Indicate to not wait if queue
is empty */
PBYTE ElemPriority; /* Priority of element (returned) */
ULONG SemaphoreHandle; /* Semaphore Handle */
USHORT rc; /* return code */
[Back: DosPeekNmPipe]
[Next: DosPFSActivate]