Author: jimtabor
Date: Fri Jul 25 07:43:55 2008
New Revision: 34777
URL:
http://svn.reactos.org/svn/reactos?rev=34777&view=rev
Log:
- Fix loading hooks.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/hook.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/hook.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/hook.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/hook.c [iso-8859-1] Fri Jul 25 07:43:55
2008
@@ -1003,14 +1003,10 @@
/* We only (partially) support local WH_CBT hooks and
* WH_KEYBOARD_LL, WH_MOUSE_LL and WH_GETMESSAGE hooks for now
*/
- if (WH_CALLWNDPROC == HookId &&
- WH_CALLWNDPROCRET == HookId &&
- WH_DEBUG == HookId &&
- WH_JOURNALPLAYBACK == HookId &&
- WH_JOURNALRECORD == HookId &&
- WH_FOREGROUNDIDLE == HookId &&
- WH_KEYBOARD == HookId &&
- WH_MOUSE == HookId &&
+ if (WH_DEBUG == HookId ||
+ WH_JOURNALPLAYBACK == HookId ||
+ WH_JOURNALRECORD == HookId ||
+ WH_FOREGROUNDIDLE == HookId ||
WH_SHELL == HookId)
{
#if 0 /* Removed to get winEmbed working again */