DosReadQueue
DosReadQueue
#define INCL_DOSQUEUES
USHORT rc = DosReadQueue(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) */
USHORT ElementCode; /* Indicate want a particular element */
UCHAR NoWait; /* Indicate to not wait if queue is
empty */
PBYTE ElemPriority; /* Priority of element (returned) */
HSEM SemaphoreHandle; /* Semaphore handle */
USHORT rc; /* return code */
[Back: DosReadAsync]
[Next: DosReallocHuge]