POWER_DATA_ACCESSOR列舉 (powrprof.h)
PowerEnumerate 和 PowerSettingAccessCheck 所使用的列舉值。
Syntax
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 搭配使用 檢查 AC 電源設定的組策略覆寫。 |
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 |