MSG

2.x

typedef struct tagMSG {     /* msg */
    HWND   hwnd;
    UINT   message;
    WPARAM wParam;
    LPARAM lParam;
    DWORD  time;
    POINT  pt;
} MSG;

The MSG structure contains information from the Windows application queue.

Members

hwnd

Identifies the window that receives the message.

message

Specifies the message number.

wParam

Specifies additional information about the message. The exact meaning depends on the message value.

lParam

Specifies additional information about the message. The exact meaning depends on the message value.

time

Specifies the time at which the message was posted.

pt

Specifies the position of the cursor, in screen coordinates, when the message was posted.

See Also

EVENTMSG, GetMessage