Author: gadamopoulos
Date: Thu Oct 14 18:36:33 2010
New Revision: 49144
URL:
http://svn.reactos.org/svn/reactos?rev=49144&view=rev
Log:
[win32k]
- Disable checking if a hook is active. It is safe to disable it for now because it is
just an optimization. If we try to call a hook when it is not active, it will fail anyway
when it tries to find the hook. Fixes calling low level 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] Thu Oct 14 18:36:33
2010
@@ -332,11 +332,13 @@
ASSERT(WH_MINHOOK <= HookId && HookId <= WH_MAXHOOK);
+#if 0
/* FIXME! Check pDeskInfo->fsHooks for global hooks! */
if (!ISITHOOKED(HookId))
{
return 0;
}
+#endif
pti = PsGetCurrentThreadWin32Thread();
if (!pti)