PowerRestoreIndividualDefaultPowerScheme function (powrprof.h)
Replaces a specific power scheme for the current user with one from the default user (stored in HKEY_USERS\.Default)
C++
DWORD PowerRestoreIndividualDefaultPowerScheme(
[in] const GUID *SchemeGuid
);
[in] SchemeGuid
The identifier of the power scheme.
Returns ERROR_SUCCESS (zero) if the call was successful, and a nonzero value if the call failed.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | powrprof.h |
Library | PowrProf.lib |
DLL | PowrProf.dll |