mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
- Works with qemu, but, not with real hardware.
svn path=/trunk/; revision=37298
This commit is contained in:
parent
1d032f9b88
commit
d5ec19ab4e
1 changed files with 3 additions and 2 deletions
|
@ -275,7 +275,10 @@ Win32kThreadCallback(struct _ETHREAD *Thread,
|
|||
Win32Thread->ppi = PsGetCurrentProcessWin32Process();
|
||||
pTeb = NtCurrentTeb();
|
||||
if (pTeb)
|
||||
{
|
||||
Win32Thread->pClientInfo = (PCLIENTINFO)pTeb->Win32ClientInfo;
|
||||
Win32Thread->pClientInfo->pClientThreadInfo = NULL;
|
||||
}
|
||||
Win32Thread->MessageQueue = MsqCreateMessageQueue(Thread);
|
||||
Win32Thread->KeyboardLayout = W32kGetDefaultKeyLayout();
|
||||
if (Win32Thread->ThreadInfo)
|
||||
|
@ -283,8 +286,6 @@ Win32kThreadCallback(struct _ETHREAD *Thread,
|
|||
Win32Thread->ThreadInfo->ClientThreadInfo.dwcPumpHook = 0;
|
||||
Win32Thread->pClientInfo->pClientThreadInfo = &Win32Thread->ThreadInfo->ClientThreadInfo;
|
||||
}
|
||||
else
|
||||
Win32Thread->pClientInfo->pClientThreadInfo = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue