- 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

svn path=/trunk/; revision=49144
This commit is contained in:
Giannis Adamopoulos
2010-10-14 18:36:33 +00:00
parent 773744f9ec
commit 36b0351814
@@ -332,11 +332,13 @@ co_HOOK_CallHooks(INT HookId, INT Code, WPARAM wParam, LPARAM lParam)
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)