CWPSTRUCT

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

typedef struct tagCWPSTRUCT { // cwps 
    LPARAM  lParam; 
    WPARAM  wParam; 
    UINT    message; 
    HWND    hwnd; 
} CWPSTRUCT; 
 

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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.

See Also

Hooks Overview, Hook Structures, CallWndProc, SetWindowsHookEx