mirror of
https://github.com/reactos/reactos.git
synced 2026-06-06 21:51:53 +08:00
[ISAPNP] Fix capabilities for devices
This commit is contained in:
@@ -65,13 +65,14 @@ IsaPdoQueryCapabilities(
|
||||
else
|
||||
{
|
||||
DeviceCapabilities->UniqueID = TRUE;
|
||||
DeviceCapabilities->SilentInstall = TRUE;
|
||||
DeviceCapabilities->RawDeviceOK = TRUE;
|
||||
for (i = 0; i < POWER_SYSTEM_MAXIMUM; i++)
|
||||
DeviceCapabilities->DeviceState[i] = PowerDeviceD3;
|
||||
DeviceCapabilities->DeviceState[PowerSystemWorking] = PowerDeviceD0;
|
||||
DeviceCapabilities->SilentInstall = TRUE;
|
||||
}
|
||||
|
||||
for (i = 0; i < POWER_SYSTEM_MAXIMUM; i++)
|
||||
DeviceCapabilities->DeviceState[i] = PowerDeviceD3;
|
||||
DeviceCapabilities->DeviceState[PowerSystemWorking] = PowerDeviceD0;
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user