Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:ibm:prcp:mou:readevtque [2016/02/04 05:35] – valerius | en:ibm:prcp:mou:readevtque [2016/09/15 04:17] (current) – valerius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== MouReadEventQue ==== | ==== MouReadEventQue ==== | ||
| - | **Bindings**: | + | **Bindings**: |
| This call reads an event from the mouse device FIFO event queue, and places it in a structure provided by the application. | This call reads an event from the mouse device FIFO event queue, and places it in a structure provided by the application. | ||
| Line 66: | Line 66: | ||
| The //Row// and //Column// fields in the Buffer Parameter may contain either absolute display coordinates or relative mouse motion in mickeys. See [[en: | The //Row// and //Column// fields in the Buffer Parameter may contain either absolute display coordinates or relative mouse motion in mickeys. See [[en: | ||
| + | |||
| + | === C bindings === | ||
| + | |||
| + | <code c> | ||
| + | typedef struct _MOUEVENTINFO { /* mouev */ | ||
| + | USHORT fs; /* State of mouse at time event was | ||
| + | reported */ | ||
| + | ULONG time; /* Time since boot in milliseconds */ | ||
| + | USHORT row; /* Absolute/ | ||
| + | USHORT col; /* Absolute/ | ||
| + | }MOUEVENTINFO; | ||
| + | |||
| + | #define INCL_MOU | ||
| + | |||
| + | USHORT | ||
| + | |||
| + | PMOUEVENTINFO | ||
| + | PUSHORT | ||
| + | HMOU | ||
| + | |||
| + | USHORT | ||
| + | </ | ||
| + | |||
| + | === MASM bindings === | ||
| + | |||
| + | <code asm> | ||
| + | MOUEVENTINFO struc | ||
| + | mouev_fs | ||
| + | mouev_time dd ? ;time since boot in milliseconds | ||
| + | mouev_row | ||
| + | mouev_col | ||
| + | MOUEVENTINFO ends | ||
| + | |||
| + | EXTRN MouReadEventQue: | ||
| + | INCL_MOU | ||
| + | |||
| + | PUSH@ OTHER | ||
| + | PUSH@ WORD ReadType | ||
| + | PUSH | ||
| + | CALL | ||
| + | |||
| + | Returns WORD | ||
| + | </ | ||




