Revert the sync.
[reactos.git] / subsystems / win32 / win32k / ntuser / hook.c
index a71ea9b..bca944e 100644 (file)
@@ -10,7 +10,7 @@
  *                   Copyright (C) 2002 Alexandre Julliard
  */
 
-#include <win32k.h>
+#include <w32k.h>
 
 #define NDEBUG
 #include <debug.h>
@@ -1050,12 +1050,6 @@ NtUserCallNextHookEx(int Code,
 
     if (!HookObj) RETURN( 0);
 
-    /* Check that the first hook in the chain is not this hook */
-    NextObj = IntGetFirstHook(IntGetTable(HookObj), HookObj->HookId);
-
-    /* Its the same so it has already been called */
-    if (HookObj == NextObj) RETURN(0);
-
     UserReferenceObject(HookObj);
 
     Ansi = HookObj->Ansi;