Differences
This shows you the differences between two versions of the page.
en:ibm:prcp:mou:getnumbtns [2016/02/04 04:57] – created valerius | en:ibm:prcp:mou:getnumbtns [2016/09/15 03:48] (current) – valerius | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== MouGetNumButtons ==== | ==== MouGetNumButtons ==== | ||
- | **Bindings**: | + | **Bindings**: |
This call returns the number of buttons supported on the installed mouse driver. | This call returns the number of buttons supported on the installed mouse driver. | ||
Line 25: | Line 25: | ||
|501 |ERROR_MOUSE_NO_CONSOLE | | |501 |ERROR_MOUSE_NO_CONSOLE | | ||
|505 |ERROR_MOU_EXTENDED_SG | | |505 |ERROR_MOU_EXTENDED_SG | | ||
+ | |||
+ | === C bindings === | ||
+ | |||
+ | <code c> | ||
+ | #define INCL_MOU | ||
+ | |||
+ | USHORT | ||
+ | |||
+ | PUSHORT | ||
+ | HMOU | ||
+ | |||
+ | USHORT | ||
+ | </ | ||
+ | |||
+ | === MASM bindings === | ||
+ | |||
+ | <code asm> | ||
+ | EXTRN MouGetNumButtons: | ||
+ | INCL_MOU | ||
+ | |||
+ | PUSH@ WORD NumberOfButtons ;Number of mouse buttons | ||
+ | PUSH | ||
+ | CALL | ||
+ | |||
+ | Return WORD | ||
+ | </ | ||