mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 04:07:16 +00:00
Move call to PrivateCsrssManualGuiCheck to before the creation of
window classes svn path=/trunk/; revision=8019
This commit is contained in:
parent
8c6973cde5
commit
bec973c423
1 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: guiconsole.c,v 1.9 2004/02/03 17:53:54 navaraf Exp $
|
||||
/* $Id: guiconsole.c,v 1.10 2004/02/04 00:05:46 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -571,8 +571,6 @@ GuiConsoleGuiThread(PVOID Data)
|
|||
MSG msg;
|
||||
PHANDLE GraphicsStartupEvent = (PHANDLE) Data;
|
||||
|
||||
PrivateCsrssManualGuiCheck(+1);
|
||||
|
||||
NotifyWnd = CreateWindowW(L"Win32CsrCreateNotify",
|
||||
L"",
|
||||
WS_OVERLAPPEDWINDOW,
|
||||
|
@ -630,6 +628,11 @@ GuiInit(VOID)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (NULL == NotifyWnd)
|
||||
{
|
||||
PrivateCsrssManualGuiCheck(+1);
|
||||
}
|
||||
|
||||
wc.cbSize = sizeof(WNDCLASSEXW);
|
||||
wc.lpszClassName = L"Win32CsrCreateNotify";
|
||||
wc.lpfnWndProc = GuiConsoleNotifyWndProc;
|
||||
|
|
Loading…
Reference in a new issue