MouGetNumQueEl
Bindings: C, MASM
This call returns the current status for the mouse device driver event
queue.
MouGetNumQueEl (QueDataRecord, DeviceHandle)
QueDataRecord (PMOUQUEINFO) - output
Address of the mouse queue status structure:
numqelements (USHORT)
Current number of event queue elements, in the range 0 <> value <>
maxnumqelements.
maxnumqelements (USHORT)
Maximum number of queue elements as specified in the QSIZE = NN
parameter in DEVICE=MOUSExxx.SYS statement in CONFIG.SYS.
DeviceHandle (HMOU) - input
Contains the handle of the mouse device obtained from a previous
MouOpen.
rc (USHORT) - return
Return code descriptions are:
0 NO_ERROR
385 ERROR_MOUSE_NO_DEVICE
466 ERROR_MOU_DETACHED
501 ERROR_MOUSE_NO_CONSOLE
505 ERROR_MOU_EXTENDED_SG
Remarks
The maxnumqelements returned by this function is established during mouse
device driver configuration. See the mouse DEVICE=MOUSExxx.SYS statement
in the IBM Operating System/2 Version 1.2 Command Reference for further
details.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs