MOUSEHOOKSTRUCT

3.1

typedef struct tagMOUSEHOOKSTRUCT { /* ms */
    POINT   pt;
    HWND    hwnd;
    UINT    wHitTestCode;
    DWORD   dwExtraInfo;
} MOUSEHOOKSTRUCT;

The MOUSEHOOKSTRUCT structure contains information about a mouse event.

Members

pt

Specifies a POINT structure that contains the x- and y-coordinates of the mouse cursor, in screen coordinates.

hwnd

Identifies the window that will receive the mouse message that corresponds to the mouse event.

wHitTestCode

Specifies the hit-test code.

dwExtraInfo

Specifies extra information associated with the mouse event. An application can set this information by calling the hardware_event function and retrieve this information by calling the GetMessageExtraInfo function.

See Also

GetMessageExtraInfo, SetWindowsHook