DosQueryQueue
Bindings: C, MASM
This call determines the number of elements in a queue.
DosQueryQueue (QueueHandle, NumberElements)
QueueHandle (HQUEUE) - input
Handle of the queue to find size.
NumberElements (PUSHORT) - output
Address of the number of entries in the queue waiting to be processed.
rc (USHORT) - return
Return code descriptions are:
0 NO_ERROR
337 ERROR_QUE_INVALID_HANDLE
Remarks
Any thread of a process that has access to the queue (because of a
DosCreateQueue or a DosOpenQueue request) may issue DosQueryQueue to
determine the number of elements currently in the queue.
If the process that created the queue closes it before this request is
issued, ERROR_QUE_INVALID_HANDLE is returned.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs