Name
MSLLHOOKSTRUCT
Synopsis
Contains information used
by
the WH_MOUSE_LL hook:
Public Type MSLLHOOKSTRUCT
pt As POINTAPI
mousedata As Long
flags As Long
time As Long
dwExtraInfo As Long
End TypeStructure Members
-
pt The x and y coordinates of the mouse pointer.
-
mousedata If the
wParamparameter specifies theWM_MOUSEWHEELmessage, the high-order word of this member contains the mouse wheel delta (a positive value means that the mouse wheel was rolled forward, a negative value means that it was rolled backward). If thewParamparameter specifies that an XButton was clicked, the high-order word of this member determines whether the first or second XButton was pressed. The low-order word is reserved by the system in both cases.-
flags Determines whether the message was injected. If
ANDing this flag with 1 results in a 1 orTrue, this message was injected; otherwise, the message was not injected. You can inject a mouse message into the messaging system by using the SendInput function defined in Chapter 12.-
time The time that this message was posted to the message queue.
-
dwExtraInfo Extra information.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access