mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
- Fix copy paste error
svn path=/trunk/; revision=55748
This commit is contained in:
parent
c6679c9df4
commit
e37e71082a
1 changed files with 0 additions and 19 deletions
|
@ -467,25 +467,6 @@ IopInitializePlugPlayServices(VOID)
|
|||
if (NT_SUCCESS(Status)) NtClose(TreeHandle);
|
||||
}
|
||||
|
||||
/* Open the root key now */
|
||||
RtlInitUnicodeString(&KeyName, L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\ENUM");
|
||||
Status = IopOpenRegistryKeyEx(&EnumHandle,
|
||||
NULL,
|
||||
&KeyName,
|
||||
KEY_ALL_ACCESS);
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
/* Create the root dev node */
|
||||
RtlInitUnicodeString(&KeyName, REGSTR_VAL_ROOT_DEVNODE);
|
||||
Status = IopCreateRegistryKeyEx(&TreeHandle,
|
||||
EnumHandle,
|
||||
&KeyName,
|
||||
KEY_ALL_ACCESS,
|
||||
REG_OPTION_NON_VOLATILE,
|
||||
NULL);
|
||||
NtClose(EnumHandle);
|
||||
if (NT_SUCCESS(Status)) NtClose(TreeHandle);
|
||||
}
|
||||
/* Create the root driver */
|
||||
Status = IoCreateDriver(NULL, PnpRootDriverEntry);
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
|
Loading…
Reference in a new issue