Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:ibm:prcp:mou:getptrshape [2016/02/04 05:15] – created valerius | en:ibm:prcp:mou:getptrshape [2016/09/15 04:03] (current) – valerius | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== MouGetPtrShape ==== | ==== MouGetPtrShape ==== | ||
- | **Bindings**: | + | **Bindings**: |
This call allows a process to get (copy) the pointer shape for the session. | This call allows a process to get (copy) the pointer shape for the session. | ||
Line 76: | Line 76: | ||
|505 |ERROR_MOU_EXTENDED_SG | | |505 |ERROR_MOU_EXTENDED_SG | | ||
- | *Remarks** | + | **Remarks** |
The application passes a parameter list with the same meaning as defined for [[en: | The application passes a parameter list with the same meaning as defined for [[en: | ||
Line 83: | Line 83: | ||
The pointer shape may be set by the application with MouSetPtrShape or may be the default image provided by the installed Pointer Device Driver. | The pointer shape may be set by the application with MouSetPtrShape or may be the default image provided by the installed Pointer Device Driver. | ||
+ | |||
+ | === C bindings === | ||
+ | |||
+ | <code c> | ||
+ | typedef struct _PTRSHAPE { /* moups */ | ||
+ | USHORT cb; /* total length necessary to build image */ | ||
+ | USHORT col; /* # of columns in mouse shape */ | ||
+ | USHORT row; /* number of rows in mouse shape */ | ||
+ | USHORT colHot; | ||
+ | hotspot */ | ||
+ | USHORT rowHot; | ||
+ | hotspot */ | ||
+ | } PTRSHAPE; | ||
+ | |||
+ | #define INCL_MOU | ||
+ | |||
+ | USHORT | ||
+ | |||
+ | PBYTE PtrBuffer; | ||
+ | PPTRSHAPE | ||
+ | HMOU | ||
+ | |||
+ | USHORT | ||
+ | </ | ||
+ | |||
+ | === MASM bindings === | ||
+ | |||
+ | <code asm> | ||
+ | PTRSHAPE struc | ||
+ | moups_cb | ||
+ | moups_col | ||
+ | moups_row | ||
+ | moups_colHot | ||
+ | moups_rowHot | ||
+ | PTRSHAPE ends | ||
+ | |||
+ | EXTRN MouGetPtrShape: | ||
+ | INCL_MOU | ||
+ | |||
+ | PUSH@ OTHER | ||
+ | PUSH@ OTHER | ||
+ | PUSH | ||
+ | CALL | ||
+ | |||
+ | Returns WORD | ||
+ | </ | ||