PO_EFFECTIVE_POWER_MODE枚举 (wdm.h)

PO_EFFECTIVE_POWER_MODE 枚举常量指示系统正在运行的有效电源模式。

语法

typedef enum _PO_EFFECTIVE_POWER_MODE {
  PoEffectivePowerModeBatterySaver,
  PoEffectivePowerModeEnergySaverHighSavings,
  PoEffectivePowerModeBetterBattery,
  PoEffectivePowerModeEnergySaverStandard,
  PoEffectivePowerModeBalanced,
  PoEffectivePowerModeHighPerformance,
  PoEffectivePowerModeMaxPerformance,
  PoEffectivePowerModeGameMode,
  PoEffectivePowerModeMixedReality
} PO_EFFECTIVE_POWER_MODE, *PPO_EFFECTIVE_POWER_MODE;

常数

 
PoEffectivePowerModeBatterySaver
系统处于节电有效电源模式。
PoEffectivePowerModeEnergySaverHighSavings
该系统采用节能高效电源模式。
PoEffectivePowerModeBetterBattery
该系统处于更好的电池有效电源模式。 对于使用旧式高性能覆盖的系统,永远不会使用此有效的电源模式。
PoEffectivePowerModeEnergySaverStandard
该系统处于节能标准有效电源模式。
PoEffectivePowerModeBalanced
系统处于均衡的有效电源模式。
PoEffectivePowerModeHighPerformance
该系统处于高性能有效电源模式。 此电源模式仅用于使用旧式高性能覆盖的系统。
PoEffectivePowerModeMaxPerformance
系统处于最高性能有效电源模式。
PoEffectivePowerModeGameMode
系统处于游戏模式有效电源模式。
PoEffectivePowerModeMixedReality
系统处于 Windows Mixed Reality 有效电源模式。

要求

要求 价值
最低支持的客户端 Windows 11 版本 24H2
标头 wdm.h (包括 Wdm.h)

另请参阅

PO_EFFECTIVE_POWER_MODE_CALLBACK

PoRegisterForEffectivePowerModeNotifications

PoUnregisterFromEffectivePowerModeNotifications