Platform SDK: Interprocess Communications

CWPRETSTRUCT

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

typedef struct tagCWPRETSTRUCT { 
    LRESULT lResult; 
    LPARAM  lParam; 
    WPARAM  wParam; 
    UINT    message; 
    HWND    hwnd; 
} CWPRETSTRUCT, *PCWPRETSTRUCT; 

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.

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