Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:fapi:mougeteventmask [2021/10/06 14:25] – created prokushev | en:docs:fapi:mougeteventmask [2021/11/04 13:13] (current) – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{page> | ||
+ | |||
+ | ====== MouGetEventMask ====== | ||
+ | |||
This call returns the current value of the mouse event queue mask. | This call returns the current value of the mouse event queue mask. | ||
- | ==Syntax== | + | ===== Syntax ===== |
+ | <code c> | ||
| | ||
+ | </ | ||
- | ==Parameters== | + | ===== Parameters ===== |
- | ;EventMask (PUSHORT) - output : Address in application storage where the current mouse device driver' | + | |
- | :The EventMask is set by MouSetEventMask, | + | |
- | ::{|class=" | + | |
- | !Bit||Description | + | |
- | |- | + | |
- | |15-7||Reserved, | + | |
- | |- | + | |
- | |6||Set to report button 3 press/ | + | |
- | |- | + | |
- | |5||Set to report button 3 press/ | + | |
- | |- | + | |
- | |4||Set to report button 2 press/ | + | |
- | |- | + | |
- | |3||Set to report button 2 press/ | + | |
- | |- | + | |
- | |2||Set to report button 1 press/ | + | |
- | |- | + | |
- | |1||Set to report button 1 press/ | + | |
- | |- | + | |
- | |0||Set to report mouse motion events with no button press/ | + | |
- | |} | + | |
- | ; | + | |
- | ==Return Code== | + | * EventMask (PUSHORT) - output : Address in application storage where the current mouse device driver' |
- | ;rc (USHORT) - return: | + | |
- | *0 NO_ERROR | + | The EventMask is set by MouSetEventMask, |
- | *385 ERROR_MOUSE_NO_DEVICE | + | |
- | *466 ERROR_MOU_DETACHED | + | ^ Bit ^ Description ^ |
- | *501 ERROR_MOUSE_NO_CONSOLE | + | |15-7|Reserved, |
- | *505 ERROR_MOU_EXTENDED_SG | + | |6|Set to report button 3 press/ |
+ | |5|Set to report button 3 press/ | ||
+ | |4|Set to report button 2 press/ | ||
+ | |3|Set to report button 2 press/ | ||
+ | |2|Set to report button 1 press/ | ||
+ | |1|Set to report button 1 press/ | ||
+ | |0|Set to report mouse motion events with no button press/ | ||
+ | |||
+ | * DeviceHandle (HMOU) - input: Handle of the mouse device from a previous MouOpen. | ||
+ | |||
+ | ===== Return Code ===== | ||
+ | |||
+ | rc (USHORT) - return: | ||
+ | |||
+ | | ||
+ | *385 ERROR_MOUSE_NO_DEVICE | ||
+ | *466 ERROR_MOU_DETACHED | ||
+ | *501 ERROR_MOUSE_NO_CONSOLE | ||
+ | *505 ERROR_MOU_EXTENDED_SG | ||
+ | |||
+ | ===== Remarks ===== | ||
- | ==Remarks== | ||
Buttons are logically numbered from left to right. | Buttons are logically numbered from left to right. | ||
- | ==Bindings== | + | ===== Bindings |
- | === C === | + | |
- | <PRE> | + | ==== C ==== |
+ | <code c> | ||
#define INCL_MOU | #define INCL_MOU | ||
Line 50: | Line 54: | ||
USHORT | USHORT | ||
- | </PRE> | + | </code> |
- | ===MASM=== | + | ====MASM==== |
- | <PRE> | + | <code asm> |
EXTRN MouGetEventMask: | EXTRN MouGetEventMask: | ||
INCL_MOU | INCL_MOU | ||
Line 62: | Line 66: | ||
Returns WORD | Returns WORD | ||
- | </PRE> | + | </code> |
- | [[Category:Mou]] | + | {{page> |