Author: jimtabor
Date: Tue Nov 11 16:35:19 2008
New Revision: 37297
URL:
http://svn.reactos.org/svn/reactos?rev=37297&view=rev
Log:
- Pass thread pointers during callback.
Modified:
trunk/reactos/subsystems/win32/win32k/main/dllmain.c
Modified: trunk/reactos/subsystems/win32/win32k/main/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ma…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] Tue Nov 11 16:35:19
2008
@@ -279,7 +279,12 @@
Win32Thread->MessageQueue = MsqCreateMessageQueue(Thread);
Win32Thread->KeyboardLayout = W32kGetDefaultKeyLayout();
if (Win32Thread->ThreadInfo)
+ {
Win32Thread->ThreadInfo->ClientThreadInfo.dwcPumpHook = 0;
+ Win32Thread->pClientInfo->pClientThreadInfo =
&Win32Thread->ThreadInfo->ClientThreadInfo;
+ }
+ else
+ Win32Thread->pClientInfo->pClientThreadInfo = NULL;
}
else
{