POWERRET _VPOWERD_Set_Device_Power_State(
POWER_DEVICE_ID Power_Device_ID, POWER_STATE Power_State);
Sets the power management state for a given device by passing the request directly to the APM BIOS. This service is available only for APM 1.1 connections.
PSTATE_APM_ENABLED (0x0000) | On |
PSTATE_STANDBY (0x0001) | Standby |
PSTATE_SUSPEND (0x0002) | Suspended |
PSTATE_OFF (0x0003) | Off |
0x0030 thru 0x007F | OEM-defined device states |
All other values are reserved.
This service returns 0x0001 if the power management level is off and 0x000B if the power management level is standard.