POWER_DATA_ACCESSOR enumeration (powrprof.h)

Enumeration values used by PowerEnumerate and 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;

Constants

 
ACCESS_AC_POWER_SETTING_INDEX
Value: 0
Used with PowerSettingAccessCheck to
check for group policy overrides for AC power settings.
ACCESS_DC_POWER_SETTING_INDEX
Used with PowerSettingAccessCheck to
check for group policy overrides for DC power settings.
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
Used to enumerate power schemes with
PowerEnumerate and with
PowerSettingAccessCheck to check for
restricted access to specific power schemes.
ACCESS_SUBGROUP
Used to enumerate subgroups with
PowerEnumerate.
ACCESS_INDIVIDUAL_SETTING
Used to enumerate individual power settings with
PowerEnumerate.
ACCESS_ACTIVE_SCHEME
Used with PowerSettingAccessCheck to
check for group policy overrides for active power schemes.
ACCESS_CREATE_SCHEME
Used with PowerSettingAccessCheck to
check for restricted access for creating power schemes.
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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header powrprof.h

See also

Power Management Enumeration Types

PowerEnumerate

PowerSettingAccessCheck