CWPRETSTRUCT

The CWPRETSTRUCT structure defines the message parameters passed to a WH_CALLWNDPROCRET hook procedure, CallWndRetProc.

typedef struct tagCWPRETSTRUCT { // cwprs 
    LRESULT lResult; 
    LPARAM  lParam; 
    WPARAM  wParam; 
    DWORD   message; 
    HWND    hwnd; 
} CWPRETSTRUCT; 
 

Members

lResult
Specifies the return value of the window procedure that processed the message specified by the message value.
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 that processed the message specified by the message value.

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