MOUSEHOOKSTRUCT  1MXJSPE 

The MOUSEHOOKSTRUCT structure contains information about a mouse event.

typedef struct tagMOUSEHOOKSTRUCT {  // ms

    POINT pt;

    HWND  hwnd;

    UINT  wHitTestCode;

    DWORD dwExtraInfo;

} MOUSEHOOKSTRUCT;

 

Members

pt

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

hwnd

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

wHitTestCode

Specifies the hit-test value. For a list of hit-test values, see the description of the WM_NCHITTEST1_TNZJB message.

dwExtraInfo

Specifies extra information associated with the message.

 

See Also

GetMessageExtraInfo, POINT, SetWindowsHook, SetWindowsHookEx, WM_NCHITTEST