Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:fapi:moudrawptr [2021/10/07 13:45] – created prokushev | en:docs:fapi:moudrawptr [2021/11/04 13:10] (current) – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{page> | ||
+ | |||
+ | ====== MouDrawPtr ====== | ||
+ | |||
This call allows a process to notify the mouse device driver that an area previously restricted to the pointer image is now available to the mouse device driver. | This call allows a process to notify the mouse device driver that an area previously restricted to the pointer image is now available to the mouse device driver. | ||
- | ==Syntax== | + | ===== Syntax ===== |
+ | <code c> | ||
| | ||
+ | </ | ||
- | ==Parameters== | + | ===== Parameters ===== |
- | ; | + | |
- | ==Return Code== | + | * DeviceHandle (HMOU) - input: Mouse device handle from a previous MouOpen. |
- | ;rc (USHORT) - return: | + | |
- | *0 NO_ERROR | + | ===== Return Code ===== |
- | *385 ERROR_MOUSE_NO_DEVICE | + | |
- | *466 ERROR_MOU_DETACHED | + | rc (USHORT) - return: |
- | *501 ERROR_MOUSE_NO_CONSOLE | + | |
- | *505 ERROR_MOU_EXTENDED_SG | + | |
+ | *385 ERROR_MOUSE_NO_DEVICE | ||
+ | *466 ERROR_MOU_DETACHED | ||
+ | *501 ERROR_MOUSE_NO_CONSOLE | ||
+ | *505 ERROR_MOU_EXTENDED_SG | ||
+ | |||
+ | ===== Remarks ===== | ||
- | ==Remarks== | ||
The collision area (the pointer image restricted area) is established by MouOpen and by MouRemovePtr. MouDrawPtr nullifies the effect of the MouRemovePtr command. If there was no previous MouDrawPtr command or if a previous MouDrawPtr command has already nullified the collision area, the MouRemovePtr command is effectively a null operation. | The collision area (the pointer image restricted area) is established by MouOpen and by MouRemovePtr. MouDrawPtr nullifies the effect of the MouRemovePtr command. If there was no previous MouDrawPtr command or if a previous MouDrawPtr command has already nullified the collision area, the MouRemovePtr command is effectively a null operation. | ||
This call is required to begin session pointer image drawing. Immediately after MouOpen is issued, the collision area is defined as the size of the display. A MouDrawPtr is issued to begin pointer drawing after the MouOpen. | This call is required to begin session pointer image drawing. Immediately after MouOpen is issued, the collision area is defined as the size of the display. A MouDrawPtr is issued to begin pointer drawing after the MouOpen. | ||
- | ==Bindings== | + | ===== Bindings |
- | ===C=== | + | |
- | <PRE> | + | ====C==== |
+ | <code c> | ||
#define INCL_MOU | #define INCL_MOU | ||
Line 29: | Line 40: | ||
HMOU DeviceHandle; | HMOU DeviceHandle; | ||
USHORT | USHORT | ||
- | </PRE> | + | </code> |
- | ===MASM=== | + | ====MASM==== |
- | <PRE> | + | <code asm> |
EXTRN MouDrawPtr: | EXTRN MouDrawPtr: | ||
INCL_MOU | INCL_MOU | ||
Line 40: | Line 51: | ||
Returns WORD | Returns WORD | ||
- | </PRE> | + | </code> |
- | [[Category:Mou]] | + | {{page> |