MouGetNumMickeys: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:MouGetNumMickeys to MouGetNumMickeys |
mNo edit summary |
||
Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
MouGetNumMickeys(NumberOfMickeys, DeviceHandle) | |||
==Parameters== | ==Parameters== | ||
Line 20: | Line 11: | ||
==Return Code== | ==Return Code== | ||
;rc (APIRET) - returns:MouGetNumMickeys returns one of the following values: | |||
MouGetNumMickeys returns one of the following values: | |||
* 0 NO_ERROR | * 0 NO_ERROR | ||
* 466 ERROR_MOU_DETACHED | * 466 ERROR_MOU_DETACHED |
Latest revision as of 22:27, 11 December 2019
Returns the number of mickeys per centimeter for the installed mouse device driver.
Syntax
MouGetNumMickeys(NumberOfMickeys, DeviceHandle)
Parameters
- NumberOfMickeys (PULONG) - input
- Number of mickeys per centimeter.
- Address of the number of physical mouse motion units. Mouse motion units are reported in mickeys per centimeter. This value is constant, and is based on the mouse device attached.
- DeviceHandle (HMOU) - input
- Mouse device handle
- Reserved. Must be 0.
Return Code
- rc (APIRET) - returns
- MouGetNumMickeys returns one of the following values:
- 0 NO_ERROR
- 466 ERROR_MOU_DETACHED
- 501 ERROR_MOUSE_NO_CONSOLE