mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
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:
parent
79cd3ca256
commit
58bf81b39f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
* reactos/subsys/csrss/init.c
|
||||||
*
|
*
|
||||||
|
@ -85,6 +85,8 @@ CsrInitVideo(VOID)
|
||||||
HANDLE VideoHandle;
|
HANDLE VideoHandle;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
|
InitializeVideoAddressSpace();
|
||||||
|
|
||||||
RtlInitUnicodeStringFromLiteral(&DeviceName, L"\\??\\DISPLAY1");
|
RtlInitUnicodeStringFromLiteral(&DeviceName, L"\\??\\DISPLAY1");
|
||||||
InitializeObjectAttributes(&ObjectAttributes,
|
InitializeObjectAttributes(&ObjectAttributes,
|
||||||
&DeviceName,
|
&DeviceName,
|
||||||
|
@ -202,8 +204,6 @@ CsrServerInitialization (
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
InitializeVideoAddressSpace();
|
|
||||||
|
|
||||||
W32kInitialize();
|
W32kInitialize();
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue