- Fix an exception when set condition * first always is used then moving the mouse. There seems to be an initialization issue (The Init Bug) and not setting a desktop.

svn path=/trunk/; revision=49250
This commit is contained in:
James Tabor
2010-10-24 04:36:45 +00:00
parent 5958a4e877
commit 24acd670a4
@@ -873,8 +873,7 @@ co_HOOK_CallHooks( INT HookId,
ASSERT(WH_MINHOOK <= HookId && HookId <= WH_MAXHOOK);
pti = GetW32ThreadInfo(); // Need to call this!
pti = PsGetCurrentThreadWin32Thread();
if (!pti || !pti->pDeskInfo)
goto Exit; // Must have a desktop running for hooks.