- Fix loading hooks.

svn path=/trunk/; revision=34777
This commit is contained in:
James Tabor 2008-07-25 12:43:55 +00:00
parent f123580aa0
commit 4e945c2292

View file

@ -1003,14 +1003,10 @@ NtUserSetWindowsHookEx(
/* We only (partially) support local WH_CBT hooks and
* WH_KEYBOARD_LL, WH_MOUSE_LL and WH_GETMESSAGE hooks for now
*/
if (WH_CALLWNDPROC == HookId &&
WH_CALLWNDPROCRET == HookId &&
WH_DEBUG == HookId &&
WH_JOURNALPLAYBACK == HookId &&
WH_JOURNALRECORD == HookId &&
WH_FOREGROUNDIDLE == HookId &&
WH_KEYBOARD == HookId &&
WH_MOUSE == HookId &&
if (WH_DEBUG == HookId ||
WH_JOURNALPLAYBACK == HookId ||
WH_JOURNALRECORD == HookId ||
WH_FOREGROUNDIDLE == HookId ||
WH_SHELL == HookId)
{
#if 0 /* Removed to get winEmbed working again */