powersetting.h header
This header is used by System Services. For more information, see:
powersetting.h contains the following programming interfaces:
Functions
EFFECTIVE_POWER_MODE_CALLBACK Function class for effective power mode callback. |
PowerGetActiveScheme Retrieves the active power scheme and returns a GUID that identifies the scheme. |
PowerReadACValue Retrieves the AC power value for the specified power setting. |
PowerReadDCValue Retrieves the DC power value for the specified power setting. |
PowerRegisterForEffectivePowerModeNotifications Registers a callback to receive effective power mode change notifications. |
PowerSetActiveScheme Sets the active power scheme for the current user. |
PowerSettingRegisterNotification Registers to receive notification when a power setting changes. |
PowerSettingUnregisterNotification Cancels a registration to receive notification when a power setting changes. |
PowerUnregisterFromEffectivePowerModeNotifications Unregisters from effective power mode change notifications. This function is intended to be called from cleanup code and will wait for all callbacks to complete before unregistering. |
PowerWriteACValueIndex Sets the AC value index of the specified power setting. |
PowerWriteDCValueIndex Sets the DC index of the specified power setting. |
Enumerations
EFFECTIVE_POWER_MODE Indicates the effective power mode the system is running. |