IWDTFSimulatedBatterySystemAction 接口 (wdtfsimulatedbatterysystemaction.h)

IWDTFSimulatedBatterySystemAction 接口

遗产

IWDTFSimulatedBatterySystemAction 接口继承自 IWDTFAction2IWDTFSimulatedBatterySystemAction 也有以下类型的成员:

方法

IWDTFSimulatedBatterySystemAction 接口具有这些方法。

 
IWDTFSimulatedBatterySystemAction::D isableRealBatteries

如果真实电池存在于系统中,则禁用它们。
IWDTFSimulatedBatterySystemAction::D isableSimulatedBattery

禁用模拟电池。
IWDTFSimulatedBatterySystemAction::EnableRealBatteries

如果真实电池存在于系统中,则启用它们。
IWDTFSimulatedBatterySystemAction::EnableSimulatedBattery

启用模拟电池。
IWDTFSimulatedBatterySystemAction::SetSimulatedBatteryChargePercentage

设置模拟电池向 OS 报告的充电百分比。
IWDTFSimulatedBatterySystemAction::SetSimulatedBatteryToAC

将模拟电池状态设置为 AC 电源。
IWDTFSimulatedBatterySystemAction::SetSimulatedBatteryToDC

将模拟电池状态设置为 DC 电源。

要求

要求 价值
最低支持的客户端 Windows 8.1
支持的最低服务器 Windows Server 2012 R2
目标平台 窗户
标头 wdtfsimulatedbatterysystemaction.h