Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Represents the administrator override power policy settings.
typedef struct _ADMINISTRATOR_POWER_POLICY {
SYSTEM_POWER_STATE MinSleep;
SYSTEM_POWER_STATE MaxSleep;
DWORD MinVideoTimeout;
DWORD MaxVideoTimeout;
DWORD MinSpindownTimeout;
DWORD MaxSpindownTimeout;
} ADMINISTRATOR_POWER_POLICY, *PADMINISTRATOR_POWER_POLICY;
MinSleep
The minimum system power sleep state. This member must be one of the SYSTEM_POWER_STATE enumeration type values between PowerSystemSleeping1 (power state S1) and PowerSystemHibernate (power state S4).
MaxSleep
The maximum system power sleep state. This member must be one of the SYSTEM_POWER_STATE enumeration type values between PowerSystemSleeping1 (power state S1) and PowerSystemHibernate (power state S4).
MinVideoTimeout
The minimum allowable video idle time-out before turning the display device off, in seconds.
MaxVideoTimeout
The maximum allowable video idle time-out before turning the display device off, in seconds.
MinSpindownTimeout
The minimum allowable disk idle time before flushing the cache manager and spinning down a hard disk device, in seconds.
MaxSpindownTimeout
The maximum allowable disk idle time before flushing the cache manager and spinning down a hard disk device, in seconds.
The ADMINISTRATOR_POWER_POLICY structure defines limits to certain power policy values that are applied globally to all users' power schemes. The values in the ADMINISTRATOR_POWER_POLICY structure override any settings selected by the user in the Power Options control panel program.
To set an administrator override policy, call the CallNtPowerInformation function.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winnt.h (include Windows.h) |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today