Windows Dev Center

POWER_DATA_ACCESSOR enumeration

Enumeration values used by PowerEnumerate and PowerSettingAccessCheck.

Syntax


typedef enum _POWER_DATA_ACCESSOR { 
  ACCESS_AC_POWER_SETTING_INDEX  = 0,  // 0x0
  ACCESS_DC_POWER_SETTING_INDEX  = 1,  // 0x1
  ACCESS_SCHEME                  = 16, // 0x10
  ACCESS_SUBGROUP                = 17, // 0x11
  ACCESS_INDIVIDUAL_SETTING      = 18, // 0x12
  ACCESS_ACTIVE_SCHEME           = 19, // 0x13
  ACCESS_CREATE_SCHEME           = 20 // 0x14
} POWER_DATA_ACCESSOR, *PPOWER_DATA_ACCESSOR;

Constants

ACCESS_AC_POWER_SETTING_INDEX

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_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.

Requirements

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft