POWER_POLICY structure (powrprof.h)

Contains power policy settings that are unique to each power scheme.

Syntax

typedef struct _POWER_POLICY {
  USER_POWER_POLICY    user;
  MACHINE_POWER_POLICY mach;
} POWER_POLICY, *PPOWER_POLICY;

Members

user

A USER_POWER_POLICY structure that defines user power policy settings.

mach

A MACHINE_POWER_POLICY structure that defines computer power policy settings.

Requirements

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

See also

EnumPwrSchemes

MACHINE_POWER_POLICY

ReadPwrScheme

SetActivePwrScheme

USER_POWER_POLICY

WritePwrScheme