mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Changed path to vgaddi.dll to use SystemRoot instead of C:
svn path=/trunk/; revision=2314
This commit is contained in:
parent
5b13cb7208
commit
a69fa0c124
1 changed files with 2 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: dc.c,v 1.26 2001/08/28 18:16:32 jfilby Exp $
|
/* $Id: dc.c,v 1.27 2001/10/23 00:22:04 phreak Exp $
|
||||||
*
|
*
|
||||||
* DC.C - Device context functions
|
* DC.C - Device context functions
|
||||||
*
|
*
|
||||||
|
@ -201,11 +201,7 @@ HDC STDCALL W32kCreateDC(LPCWSTR Driver,
|
||||||
|
|
||||||
/* Get the DDI driver's entry point */
|
/* Get the DDI driver's entry point */
|
||||||
/* FIXME: Retrieve DDI driver name from registry */
|
/* FIXME: Retrieve DDI driver name from registry */
|
||||||
#ifdef DDRIVE_FIX
|
if ((GDEnableDriver = DRIVER_FindDDIDriver(L"\\SystemRoot\\system32\\drivers\\vgaddi.dll")) == NULL)
|
||||||
if ((GDEnableDriver = DRIVER_FindDDIDriver(L"\\??\\D:\\reactos\\system32\\drivers\\vgaddi.dll")) == NULL)
|
|
||||||
#else
|
|
||||||
if ((GDEnableDriver = DRIVER_FindDDIDriver(L"\\??\\C:\\reactos\\system32\\drivers\\vgaddi.dll")) == NULL)
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
DPRINT("FindDDIDriver failed\n");
|
DPRINT("FindDDIDriver failed\n");
|
||||||
goto Failure;
|
goto Failure;
|
||||||
|
|
Loading…
Reference in a new issue