POWER_DATA_ACCESSOR 枚举 (powrprof.h)

PowerEnumeratePowerSettingAccessCheck 使用的枚举值。

语法

typedef enum _POWER_DATA_ACCESSOR {
  ACCESS_AC_POWER_SETTING_INDEX = 0,
  ACCESS_DC_POWER_SETTING_INDEX,
  ACCESS_FRIENDLY_NAME,
  ACCESS_DESCRIPTION,
  ACCESS_POSSIBLE_POWER_SETTING,
  ACCESS_POSSIBLE_POWER_SETTING_FRIENDLY_NAME,
  ACCESS_POSSIBLE_POWER_SETTING_DESCRIPTION,
  ACCESS_DEFAULT_AC_POWER_SETTING,
  ACCESS_DEFAULT_DC_POWER_SETTING,
  ACCESS_POSSIBLE_VALUE_MIN,
  ACCESS_POSSIBLE_VALUE_MAX,
  ACCESS_POSSIBLE_VALUE_INCREMENT,
  ACCESS_POSSIBLE_VALUE_UNITS,
  ACCESS_ICON_RESOURCE,
  ACCESS_DEFAULT_SECURITY_DESCRIPTOR,
  ACCESS_ATTRIBUTES,
  ACCESS_SCHEME,
  ACCESS_SUBGROUP,
  ACCESS_INDIVIDUAL_SETTING,
  ACCESS_ACTIVE_SCHEME,
  ACCESS_CREATE_SCHEME,
  ACCESS_AC_POWER_SETTING_MAX,
  ACCESS_DC_POWER_SETTING_MAX,
  ACCESS_AC_POWER_SETTING_MIN,
  ACCESS_DC_POWER_SETTING_MIN,
  ACCESS_PROFILE,
  ACCESS_OVERLAY_SCHEME,
  ACCESS_POWER_MODE,
  ACCESS_ACTIVE_OVERLAY_SCHEME
} POWER_DATA_ACCESSOR, *PPOWER_DATA_ACCESSOR;

常量

 
ACCESS_AC_POWER_SETTING_INDEX
值: 0
PowerSettingAccessCheck 配合使用
检查交流电源设置的组策略替代。
ACCESS_DC_POWER_SETTING_INDEX
PowerSettingAccessCheck 配合使用
检查 DC 电源设置的组策略替代。
ACCESS_FRIENDLY_NAME
ACCESS_DESCRIPTION
ACCESS_POSSIBLE_POWER_SETTING
ACCESS_POSSIBLE_POWER_SETTING_FRIENDLY_NAME
ACCESS_POSSIBLE_POWER_SETTING_DESCRIPTION
ACCESS_DEFAULT_AC_POWER_SETTING
ACCESS_DEFAULT_DC_POWER_SETTING
ACCESS_POSSIBLE_VALUE_MIN
ACCESS_POSSIBLE_VALUE_MAX
ACCESS_POSSIBLE_VALUE_INCREMENT
ACCESS_POSSIBLE_VALUE_UNITS
ACCESS_ICON_RESOURCE
ACCESS_DEFAULT_SECURITY_DESCRIPTOR
ACCESS_ATTRIBUTES
ACCESS_SCHEME
用于枚举电源方案
PowerEnumerate 和 with
PowerSettingAccessCheck 检查
限制对特定电源方案的访问。
ACCESS_SUBGROUP
用于枚举子组
PowerEnumerate
ACCESS_INDIVIDUAL_SETTING
用于枚举单个电源设置
PowerEnumerate
ACCESS_ACTIVE_SCHEME
PowerSettingAccessCheck 配合使用
检查活动电源方案的组策略替代。
ACCESS_CREATE_SCHEME
PowerSettingAccessCheck 配合使用
检查用于创建电源方案的受限访问。
ACCESS_AC_POWER_SETTING_MAX
ACCESS_DC_POWER_SETTING_MAX
ACCESS_AC_POWER_SETTING_MIN
ACCESS_DC_POWER_SETTING_MIN
ACCESS_PROFILE
ACCESS_OVERLAY_SCHEME
ACCESS_ACTIVE_OVERLAY_SCHEME

要求

要求
最低受支持的客户端 Windows Vista [仅限桌面应用]
最低受支持的服务器 Windows Server 2008 [仅限桌面应用]
标头 powrprof.h

另请参阅

电源管理枚举类型

PowerEnumerate

PowerSettingAccessCheck