diff --git a/sdk-api-src/content/winuser/nc-winuser-hookproc.md b/sdk-api-src/content/winuser/nc-winuser-hookproc.md index 2c33bc28692e..52a1ec8369d6 100644 --- a/sdk-api-src/content/winuser/nc-winuser-hookproc.md +++ b/sdk-api-src/content/winuser/nc-winuser-hookproc.md @@ -68,8 +68,8 @@ Specifies whether the message is sent by the current process. If the message is Type: LPARAM -A pointer to a CWPRETSTRUCT structure that contains details about the message. - +A pointer to a CWPSTRUCT or CWPRETSTRUCT structure that contains details about the message, depending +on which hook type was specified when calling the SetWindowsHookEx function. #### - nCode [in] @@ -87,8 +87,8 @@ If nCode is greater than or equal to zero, it is highly recommended that ## -remarks -An application installs the hook procedure by specifying the WH_CALLWNDPROCRET hook type and a pointer to the hook procedure in a call to the SetWindowsHookEx function. +An application installs the hook procedure by specifying the WH_CALLWNDPROC or WH_CALLWNDPROCRET hook type and a pointer to the hook procedure in a call to the SetWindowsHookEx function. ## -see-also -[CWPRETSTRUCT structure](ns-winuser-cwpretstruct.md), [CallNextHookEx function](nf-winuser-callnexthookex.md), [CallWindowProcW function](nf-winuser-callwindowprocw.md), [CallWindowProcA function](nf-winuser-callwindowproca.md), [SendMessage](/windows/desktop/api/winuser/nf-winuser-sendmessage), [SetWindowsHookEx](/windows/desktop/api/winuser/nf-winuser-setwindowshookexa), [Hooks](/windows/desktop/winmsg/hooks) +[CWPSTRUCT structure](ns-winuser-cwpstruct.md), [CWPRETSTRUCT structure](ns-winuser-cwpretstruct.md), [CallNextHookEx function](nf-winuser-callnexthookex.md), [CallWindowProcW function](nf-winuser-callwindowprocw.md), [CallWindowProcA function](nf-winuser-callwindowproca.md), [SendMessage](/windows/desktop/api/winuser/nf-winuser-sendmessage), [SetWindowsHookEx](/windows/desktop/api/winuser/nf-winuser-setwindowshookexa), [Hooks](/windows/desktop/winmsg/hooks)