Author: jimtabor
Date: Sun Oct 24 04:36:45 2010
New Revision: 49250
URL:
http://svn.reactos.org/svn/reactos?rev=49250&view=rev
Log:
[Win32k]
- 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.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/hook.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/hook.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/hook.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/hook.c [iso-8859-1] Sun Oct 24 04:36:45
2010
@@ -873,8 +873,7 @@
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.