Author: jimtabor
Date: Thu Jul 24 16:39:00 2008
New Revision: 34759
URL:
http://svn.reactos.org/svn/reactos?rev=34759&view=rev
Log:
Add two more CallNextHook finctions.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/message.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/message.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/message.c [iso-8859-1] Thu Jul 24
16:39:00 2008
@@ -1990,6 +1990,35 @@
break;
case FNID_SENDMESSAGECALLBACK:
break;
+ case FNID_CALLWNDPROC:
+ {
+ CWPSTRUCT CWP;
+ PW32CLIENTINFO ClientInfo = GetWin32ClientInfo();
+ CWP.hwnd = hWnd;
+ CWP.message = Msg;
+ CWP.wParam = wParam;
+ CWP.lParam = lParam;
+ lResult = co_HOOK_CallHooks( WH_CALLWNDPROC,
+ HC_ACTION,
+ ((ClientInfo->CI_flags & CI_CURTHPRHOOK) ? 1
: 0),
+ (LPARAM)&CWP );
+ }
+ break;
+ case FNID_CALLWNDPROCRET:
+ {
+ CWPRETSTRUCT CWPR;
+ PW32CLIENTINFO ClientInfo = GetWin32ClientInfo();
+ CWPR.hwnd = hWnd;
+ CWPR.message = Msg;
+ CWPR.wParam = wParam;
+ CWPR.lParam = lParam;
+ CWPR.lResult = ClientInfo->dwHookData;
+ lResult = co_HOOK_CallHooks( WH_CALLWNDPROCRET,
+ HC_ACTION,
+ ((ClientInfo->CI_flags & CI_CURTHPRHOOK) ? 1
: 0),
+ (LPARAM)&CWPR );
+ }
+ break;
}
UserLeave();
return lResult;