mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
[NTOS]
- Hermes Belusca: Give pnp driver object a name. See issue #7241 for more details. svn path=/trunk/; revision=57080
This commit is contained in:
parent
f31f0a8e5d
commit
0aebbd328d
1 changed files with 2 additions and 1 deletions
|
@ -364,6 +364,7 @@ IopInitializePlugPlayServices(VOID)
|
|||
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");
|
||||
PDEVICE_OBJECT Pdo;
|
||||
|
||||
/* Initialize locks and such */
|
||||
|
@ -468,7 +469,7 @@ IopInitializePlugPlayServices(VOID)
|
|||
}
|
||||
|
||||
/* Create the root driver */
|
||||
Status = IoCreateDriver(NULL, PnpRootDriverEntry);
|
||||
Status = IoCreateDriver(&PnpManagerDriverName, PnpRootDriverEntry);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("IoCreateDriverObject() failed\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue