MOUEVENTINFO: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Mouse event queue data structure. | |||
Mouse event queue data structure. | |||
=== Type === | === Type === | ||
Line 14: | Line 13: | ||
;fs:Mouse state. | ;fs:Mouse state. | ||
:The state of the mouse at the time of the event. | :The state of the mouse at the time of the event. | ||
::{|class="wikitable" | |||
!Bit||Description | |||
|- | |||
|31-7||Reserved; set to zero. | |||
|- | |||
|6||Set if button 3 is down. | |||
|- | |||
|5||Set if mouse is moving and button 3 is down. | |||
|- | |||
|4||Set if button 2 is down. | |||
|- | |||
|3||Set if mouse is moving and button 2 is down. | |||
|- | |||
|2||Set if button 1 is down. | |||
|- | |||
|1||Set if mouse is moving and button 1 is down. | |||
|- | |||
|0||Set if mouse is moving and no buttons are down. | |||
|} | |||
;row:Horizontal position. | ;row:Horizontal position. | ||
:The absolute or relative row position. | :The absolute or relative row position. |
Latest revision as of 18:57, 11 December 2019
Mouse event queue data structure.
Type
ULONG fs LONG row LONG col ULONG time
C Declaration Method
typedef struct
Fields
- fs
- Mouse state.
- The state of the mouse at the time of the event.
Bit Description 31-7 Reserved; set to zero. 6 Set if button 3 is down. 5 Set if mouse is moving and button 3 is down. 4 Set if button 2 is down. 3 Set if mouse is moving and button 2 is down. 2 Set if button 1 is down. 1 Set if mouse is moving and button 1 is down. 0 Set if mouse is moving and no buttons are down.
- row
- Horizontal position.
- The absolute or relative row position.
- col
- Vertical position.
- The absolute or relative column position.
- time
- Time stamp.