mirror of
https://github.com/reactos/reactos.git
synced 2026-07-04 14:04:22 +08:00
- Works with qemu, but, not with real hardware.
svn path=/trunk/; revision=37298
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user