From 58bf81b39f47f908d6a78029bf1add02bcf8952d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Tue, 17 Jun 2003 13:55:16 +0000 Subject: [PATCH] Call InitializeVideoAddressSpace() before opening the display device, so the display open routine can make INT10 calls svn path=/trunk/; revision=4919 --- reactos/subsys/csrss/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/csrss/init.c b/reactos/subsys/csrss/init.c index e020b9b70ef..b18287eb453 100644 --- a/reactos/subsys/csrss/init.c +++ b/reactos/subsys/csrss/init.c @@ -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;