mirror of
https://github.com/reactos/reactos.git
synced 2024-11-03 21:34:00 +00:00
Win32 structure cleanup (WIP):
Initialite THREADINFOs pClientInfo member svn path=/trunk/; revision=36817
This commit is contained in:
parent
c9a04929cc
commit
6d76cb42e5
1 changed files with 4 additions and 0 deletions
|
@ -203,6 +203,7 @@ Win32kThreadCallback(struct _ETHREAD *Thread,
|
|||
if (Type == PsW32ThreadCalloutInitialize)
|
||||
{
|
||||
HWINSTA hWinSta = NULL;
|
||||
PTEB pTeb;
|
||||
HDESK hDesk = NULL;
|
||||
NTSTATUS Status;
|
||||
PUNICODE_STRING DesktopPath;
|
||||
|
@ -270,6 +271,9 @@ Win32kThreadCallback(struct _ETHREAD *Thread,
|
|||
Win32Thread->IsExiting = FALSE;
|
||||
co_IntDestroyCaret(Win32Thread);
|
||||
Win32Thread->ppi = PsGetCurrentProcessWin32Process();
|
||||
pTeb = NtCurrentTeb();
|
||||
if (pTeb)
|
||||
Win32Thread->pClientInfo = (PCLIENTINFO)pTeb->Win32ClientInfo;
|
||||
Win32Thread->MessageQueue = MsqCreateMessageQueue(Thread);
|
||||
Win32Thread->KeyboardLayout = W32kGetDefaultKeyLayout();
|
||||
if (Win32Thread->ThreadInfo)
|
||||
|
|
Loading…
Reference in a new issue