mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOSKRNL]
- Hack around a strange registry-related bug (we created the whole registry path previously but it won't let us open it without the correct volatile option) to fix devices enumerated via IoReportDetectedDevice svn path=/trunk/; revision=53255
This commit is contained in:
parent
bf5c13ed02
commit
a7c264087d
1 changed files with 2 additions and 1 deletions
|
@ -248,7 +248,8 @@ IoReportDetectedDevice(IN PDRIVER_OBJECT DriverObject,
|
|||
IopActionConfigureChildServices(DeviceNode, DeviceNode->Parent);
|
||||
|
||||
/* Open a handle to the instance path key */
|
||||
Status = IopCreateDeviceKeyPath(&DeviceNode->InstancePath, 0, &InstanceKey);
|
||||
/* REG_OPTION_VOLATILE is a HACK!!! */
|
||||
Status = IopCreateDeviceKeyPath(&DeviceNode->InstancePath, REG_OPTION_VOLATILE, &InstanceKey);
|
||||
if (!NT_SUCCESS(Status))
|
||||
return Status;
|
||||
|
||||
|
|
Loading…
Reference in a new issue