mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[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 svn path=/trunk/; revision=49144
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user