Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:ibm:prcp:mou:getptrshape [2016/02/04 05:16] – 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 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 | ||
| + | </ | ||




