mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[RAMDISK]
- Remove another unnecessary hack svn path=/trunk/; revision=46771
This commit is contained in:
parent
b270d2cf88
commit
8cc9a982b5
1 changed files with 1 additions and 12 deletions
|
@ -2422,18 +2422,7 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
|||
0,
|
||||
&PhysicalDeviceObject);
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
//
|
||||
// ReactOS Fix
|
||||
// The ReactOS Plug and Play Manager is broken and does not create
|
||||
// the required keys when reporting a detected device.
|
||||
// We hack around this ourselves.
|
||||
//
|
||||
RtlCreateUnicodeString(&((PEXTENDED_DEVOBJ_EXTENSION)
|
||||
PhysicalDeviceObject->DeviceObjectExtension)
|
||||
->DeviceNode->InstancePath,
|
||||
L"Root\\UNKNOWN\\0000");
|
||||
|
||||
{
|
||||
//
|
||||
// Create the device object
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue