Platform SDK: Interprocess Communications

CWPSTRUCT

The CWPSTRUCT structure defines the message parameters passed to a WH_CALLWNDPROC hook procedure, CallWndProc.

typedef struct tagCWPSTRUCT { 
    LPARAM  lParam; 
    WPARAM  wParam; 
    UINT    message; 
    HWND    hwnd; 
} CWPSTRUCT, *PCWPSTRUCT; 

Members

lParam
Specifies additional information about the message. The exact meaning depends on the message value.
wParam
Specifies additional information about the message. The exact meaning depends on the message value.
message
Specifies the message.
hwnd
Handle to the window to receive the message.

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, CallWndProc, SetWindowsHookEx