Author: hbelusca
Date: Fri Aug 23 21:03:37 2013
New Revision: 59802
URL:
http://svn.reactos.org/svn/reactos?rev=59802&view=rev
Log:
[NTOSKRNL]
Don't hardcode L"\\Driver\\" but use the #define DRIVER_ROOT_NAME instead
(2/2)
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit.c [iso-8859-1] Fri Aug 23 21:03:37 2013
@@ -364,7 +364,7 @@
ULONG Disposition;
HANDLE KeyHandle, EnumHandle, ParentHandle, TreeHandle, ControlHandle;
UNICODE_STRING KeyName =
RTL_CONSTANT_STRING(L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET");
- UNICODE_STRING PnpManagerDriverName =
RTL_CONSTANT_STRING(L"\\Driver\\PnpManager");
+ UNICODE_STRING PnpManagerDriverName = RTL_CONSTANT_STRING(DRIVER_ROOT_NAME
L"PnpManager");
PDEVICE_OBJECT Pdo;
/* Initialize locks and such */