- fix logic, global mouse and keyboard hooks are supported, dinput now works again

svn path=/trunk/; revision=39919
This commit is contained in:
Kamil Hornicek 2009-03-09 19:01:11 +00:00
parent 86bdd2b0e0
commit 599cdf24dd

View file

@ -1051,7 +1051,7 @@ NtUserSetWindowsHookEx(
Global = TRUE;
}
if ( ( Global && (HookId != WH_KEYBOARD_LL || HookId != WH_MOUSE_LL) ) ||
if ( ( Global && (HookId != WH_KEYBOARD_LL && HookId != WH_MOUSE_LL) ) ||
WH_DEBUG == HookId ||
WH_JOURNALPLAYBACK == HookId ||
WH_JOURNALRECORD == HookId)