Author: jimtabor
Date: Thu Jul 24 17:00:41 2008
New Revision: 34762
URL:
http://svn.reactos.org/svn/reactos?rev=34762&view=rev
Log:
- Plug in WH_KEYBOARD callback.
Modified:
trunk/reactos/dll/win32/user32/windows/hook.c
trunk/reactos/subsystems/win32/win32k/ntuser/callback.c
Modified: trunk/reactos/dll/win32/user32/windows/hook.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/h…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/hook.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/hook.c [iso-8859-1] Thu Jul 24 17:00:41 2008
@@ -514,6 +514,9 @@
// FIXME("UHOOK Memory: %x: %x\n",Common, Msg);
Result = Common->Proc(Common->Code, Common->wParam, (LPARAM) Msg);
break;
+ case WH_KEYBOARD:
+ Result = Common->Proc(Common->Code, Common->wParam, Common->lParam);
+ break;
default:
return ZwCallbackReturn(NULL, 0, STATUS_NOT_SUPPORTED);
}
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/callback.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/callback.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/callback.c [iso-8859-1] Thu Jul 24
17:00:41 2008
@@ -458,9 +458,11 @@
Common->lParam = (LPARAM) (Extra - (PCHAR) Common);
// DPRINT1("KHOOK Memory: %x\n",Common);
break;
+ case WH_KEYBOARD:
+ break;
// case WH_SHELL:
// Extra = lParam;
-// break;
+ break;
}
ResultPointer = NULL;