MouSetThreshold: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:MouSetThreshold to MouSetThreshold |
mNo edit summary |
||
Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
MouSetThreshold(Threshold, DeviceHandle) | |||
==Parameters== | ==Parameters== | ||
;Threshold (PTHRESHOLD) - input : Threshold structure. | ;Threshold (PTHRESHOLD) - input: Threshold structure. | ||
:The address of the control block structure that contains the threshold structure. | :The address of the control block structure that contains the threshold structure. | ||
;DeviceHandle (HMOU) - input : Reserved. Must be 0. | ;DeviceHandle (HMOU) - input: Reserved. Must be 0. | ||
==Return Code== | ==Return Code== | ||
;rc (APIRET) - returns:MouSetThreshold returns one of the following values: | |||
MouSetThreshold returns one of the following values: | *0 NO_ERROR | ||
* 0 | *387 ERROR_MOUSE_INV_PARMS | ||
* 387 | *466 ERROR_MOU_DETACHED | ||
* 466 | *501 ERROR_MOUSE_NO_CONSOLE | ||
* 501 | |||
==Related Functions== | ==Related Functions== |
Revision as of 18:52, 11 December 2019
Assigns a new set of threshold values to the current mouse device driver.
Syntax
MouSetThreshold(Threshold, DeviceHandle)
Parameters
- Threshold (PTHRESHOLD) - input
- Threshold structure.
- The address of the control block structure that contains the threshold structure.
- DeviceHandle (HMOU) - input
- Reserved. Must be 0.
Return Code
- rc (APIRET) - returns
- MouSetThreshold returns one of the following values:
- 0 NO_ERROR
- 387 ERROR_MOUSE_INV_PARMS
- 466 ERROR_MOU_DETACHED
- 501 ERROR_MOUSE_NO_CONSOLE