Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:docs:fapi:mougetnumqueel [2021/10/06 14:23] – created prokushev | en:docs:fapi:mougetnumqueel [2021/11/04 13:14] (current) – prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{page> | ||
| + | |||
| + | ====== MouGetNumQueEl ====== | ||
| + | |||
| This call returns the current status for the mouse device driver event queue. | This call returns the current status for the mouse device driver event queue. | ||
| - | ==Syntax== | + | ===== Syntax ===== |
| + | <code c> | ||
| | | ||
| + | </ | ||
| - | ==Parameters== | + | ===== Parameters ===== |
| - | ; | + | |
| - | : | + | |
| - | : | + | |
| - | ; | + | |
| - | ==Return Code== | + | * QueDataRecord (PMOUQUEINFO) - output : Address of the mouse queue status structure: |
| - | ;rc (USHORT) - return: | + | * numqelements (USHORT) : Current number of event queue elements, in the range 0 <> value <> maxnumqelements. |
| - | * 0 NO_ERROR | + | * maxnumqelements (USHORT) : Maximum number of queue elements as specified in the QSIZE = NN parameter in DEVICE=MOUSExxx.SYS statement in CONFIG.SYS. |
| - | * 385 ERROR_MOUSE_NO_DEVICE | + | * DeviceHandle (HMOU) - input : Contains the handle of the mouse device obtained from a previous MouOpen. |
| - | * 466 ERROR_MOU_DETACHED | + | |
| - | * 501 ERROR_MOUSE_NO_CONSOLE | + | ===== Return Code ===== |
| - | * 505 ERROR_MOU_EXTENDED_SG | + | |
| + | rc (USHORT) - return: | ||
| + | |||
| + | | ||
| + | * 385 ERROR_MOUSE_NO_DEVICE | ||
| + | * 466 ERROR_MOU_DETACHED | ||
| + | * 501 ERROR_MOUSE_NO_CONSOLE | ||
| + | * 505 ERROR_MOU_EXTENDED_SG | ||
| + | |||
| + | ===== Remarks ===== | ||
| - | ==Remarks== | ||
| The maxnumqelements returned by this function is established during mouse device driver configuration. See the mouse DEVICE=MOUSExxx.SYS statement in the '' | The maxnumqelements returned by this function is established during mouse device driver configuration. See the mouse DEVICE=MOUSExxx.SYS statement in the '' | ||
| - | ==Bindings== | + | ===== Bindings |
| - | ===C=== | + | |
| - | <PRE> | + | ====C==== |
| + | <code c> | ||
| typedef struct _MOUQUEINFO { /* mouqi */ | typedef struct _MOUQUEINFO { /* mouqi */ | ||
| USHORT cEvents; | USHORT cEvents; | ||
| Line 37: | Line 48: | ||
| USHORT | USHORT | ||
| - | </PRE> | + | </code> |
| - | ===MASM=== | + | ====MASM==== |
| - | <PRE> | + | <code asm> |
| MOUQUEINFO struc | MOUQUEINFO struc | ||
| mouqi_cEvents | mouqi_cEvents | ||
| Line 54: | Line 65: | ||
| Returns WORD | Returns WORD | ||
| - | </PRE> | + | </code> |
| - | [[Category:Mou]] | + | {{page> |




