Call InitializeVideoAddressSpace() before opening the display device, so

the display open routine can make INT10 calls

svn path=/trunk/; revision=4919
This commit is contained in:
Gé van Geldorp 2003-06-17 13:55:16 +00:00
parent 79cd3ca256
commit 58bf81b39f

View file

@ -1,4 +1,4 @@
/* $Id: init.c,v 1.18 2002/10/31 01:49:39 ekohl Exp $
/* $Id: init.c,v 1.19 2003/06/17 13:55:16 gvg Exp $
*
* reactos/subsys/csrss/init.c
*
@ -85,6 +85,8 @@ CsrInitVideo(VOID)
HANDLE VideoHandle;
NTSTATUS Status;
InitializeVideoAddressSpace();
RtlInitUnicodeStringFromLiteral(&DeviceName, L"\\??\\DISPLAY1");
InitializeObjectAttributes(&ObjectAttributes,
&DeviceName,
@ -202,8 +204,6 @@ CsrServerInitialization (
return FALSE;
}
InitializeVideoAddressSpace();
W32kInitialize();
return TRUE;