[ros-diffs] [jimtabor] 37297: - Pass thread pointers during callback.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Tue Nov 11 23:35:19 CET 2008


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/main/dllmain.c?rev=37297&r1=37296&r2=37297&view=diff
==============================================================================
--- 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
     {



More information about the Ros-diffs mailing list