MOUSEHOOKSTRUCT

typedef struct tagMOUSEHOOKSTRUCT { /* ms */

POINT pt;

HWND hwnd;

UINT wHitTestCode;

DWORD dwExtraInfo;

} MOUSEHOOKSTRUCT;

The MOUSEHOOKSTRUCT structure contains information about a mouse event.

Fields

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.

wHitTextCode

Specifies the hit-test code.

dwExtraInfo

Specifies extra information associated a message placed in the system message queue by the hardware_event function.

See Also

GetMessageExtraInfo, SetWindowsHook