MSLLHOOKSTRUCT

The MSLLHOOKSTRUCT structure contains information about a low-level keyboard input event.

typedef struct tagMSLLHOOKSTRUCT {
    DWORD pt;
    DWORD mouseData;
    DWORD flags;
    DWORD time;
    DWORD dwExtraInfo;
} MSLLHOOKSTRUCT, FAR *LPMSLLHOOKSTRUCT, *PMSLLHOOKSTRUCT;
 

Members

pt
Specifies a POINT structure that contains the x- and y-coordinates of the cursor, in screen coordinates.
mouseData
Used by the WM_MOUSEWHEEL message.
flags
Specifies the event-injected flag.
Value Description
0 Specifies whether the event was injected. The value is 1 if the event was injected; otherwise, it is 0.
1-15 Reserved.

An application can use the following value to test the mouse flags:
Value Purpose
LLMHF_INJECTED Test the event-injected flag.

time
Specifies the time stamp for this message.
dwExtraInfo
Specifies extra information associated with the message.

QuickInfo

  Windows NT: Requires version 4.0 SP3 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.

See Also

Hooks Overview, Hook Structures, LowLevelMouseProc, POINT, SetWindowsHookEx, WM_MOUSEWHEEL