Differences
This shows you the differences between two versions of the page.
| en:ibm:prcp:mou:setptrpos [2016/02/04 07:20] – created valerius | en:ibm:prcp:mou:setptrpos [2016/09/15 04:32] (current) – valerius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== MouSetPtrPos ==== | ==== MouSetPtrPos ==== | ||
| - | **Bindings**: | + | **Bindings**: |
| This call directs the mouse driver to set a new row and column coordinate position for the mouse pointer. | This call directs the mouse driver to set a new row and column coordinate position for the mouse pointer. | ||
| Line 34: | Line 34: | ||
| This function has no effect on the display' | This function has no effect on the display' | ||
| + | |||
| + | === C bindings === | ||
| + | |||
| + | <code c> | ||
| + | typedef struct _PTRLOC { /* moupl */ | ||
| + | USHORT row; /* pointer row coordinate screen | ||
| + | | ||
| + | USHORT col; /* pointer column coordinate screen | ||
| + | | ||
| + | } PTRLOC; | ||
| + | |||
| + | #define INCL_MOU | ||
| + | |||
| + | USHORT | ||
| + | |||
| + | PPTRLOC | ||
| + | HMOU | ||
| + | |||
| + | USHORT | ||
| + | </ | ||
| + | |||
| + | === MASM bindings === | ||
| + | |||
| + | <code asm> | ||
| + | PTRLOC | ||
| + | moupl_row | ||
| + | moupl_col | ||
| + | PTRLOC | ||
| + | |||
| + | EXTRN MouSetPtrPos: | ||
| + | INCL_MOU | ||
| + | |||
| + | PUSH@ OTHER | ||
| + | PUSH | ||
| + | CALL | ||
| + | |||
| + | Returns WORD | ||
| + | </ | ||




