[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 28 Dec 2014 22:48:08 +0000 (22:48 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 28 Dec 2014 22:48:08 +0000 (22:48 +0000)
Use the PIP_REGISTRY_DATA() for DevicePropertyInstallState case in IoGetDeviceProperty()

svn path=/trunk/; revision=65870

reactos/ntoskrnl/io/pnpmgr/pnpmgr.c

index 5e89100..61ce973 100644 (file)
@@ -3979,10 +3979,8 @@ IoGetDeviceProperty(IN PDEVICE_OBJECT DeviceObject,
             PIP_UNIMPLEMENTED();
             break;
         case DevicePropertyInstallState:
-        {
-            ValueName = REGSTR_VAL_CONFIGFLAGS;
+            PIP_REGISTRY_DATA(REGSTR_VAL_CONFIGFLAGS, REG_DWORD);
             break;
-        }
         case DevicePropertyResourceRequirements:
             PIP_UNIMPLEMENTED();
         case DevicePropertyAllocatedResources: