Platform SDK: Interprocess Communications

EVENTMSG

The EVENTMSG structure contains information about a hardware message sent to the system message queue. This structure is used to store message information for the JournalPlaybackProc callback function.

typedef struct tagEVENTMSG {
    UINT  message; 
    UINT  paramL; 
    UINT  paramH; 
    DWORD time; 
    HWND  hwnd; 
} EVENTMSG, *PEVENTMSG; 

Members

message
Specifies the message.
paramL
Specifies additional information about the message. The exact meaning depends on the message value.
paramH
Specifies additional information about the message. The exact meaning depends on the message value.
time
Specifies the time at which the message was posted.
hwnd
Handle to the window to which the message was posted.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Winuser.h; include Windows.h.

See Also

Hooks Overview, Hook Structures, JournalPlaybackProc, SetWindowsHookEx