Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains message information from a thread's message queue.
typedef struct tagMSG {
HWND hwnd;
UINT message;
WPARAM wParam;
LPARAM lParam;
DWORD time;
POINT pt;
DWORD lPrivate;
} MSG, *PMSG, *NPMSG, *LPMSG;
hwnd
Type: HWND
A handle to the window whose window procedure receives the message. This member is NULL when the message is a thread message.
message
Type: UINT
The message identifier. Applications can only use the low word; the high word is reserved by the system.
wParam
Type: WPARAM
Additional information about the message. The exact meaning depends on the value of the message member.
lParam
Type: LPARAM
Additional information about the message. The exact meaning depends on the value of the message member.
time
Type: DWORD
The time at which the message was posted.
pt
Type: POINT
The cursor position, in screen coordinates, when the message was posted.
lPrivate
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Header | winuser.h (include Windows.h) |
Conceptual
Reference
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today