mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[ISAPNP] Fix capabilities for devices
This commit is contained in:
parent
42724f47f8
commit
1dcc6f8b94
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue