- Replace Global flag.
authorJames Tabor <james.tabor@reactos.org>
Sat, 26 Jul 2008 00:03:31 +0000 (00:03 +0000)
committerJames Tabor <james.tabor@reactos.org>
Sat, 26 Jul 2008 00:03:31 +0000 (00:03 +0000)
svn path=/trunk/; revision=34797

reactos/subsystems/win32/win32k/ntuser/hook.c

index 76c292d..a667ba5 100644 (file)
@@ -1003,7 +1003,8 @@ NtUserSetWindowsHookEx(
    /* We only (partially) support local WH_CBT hooks and
     * WH_KEYBOARD_LL, WH_MOUSE_LL and WH_GETMESSAGE hooks for now 
     */
-   if  (WH_DEBUG == HookId ||
+   if  (Global ||
+        WH_DEBUG == HookId ||
         WH_JOURNALPLAYBACK == HookId ||
         WH_JOURNALRECORD == HookId ||
         WH_FOREGROUNDIDLE == HookId ||