PowerRestoreDefaultPowerSchemes function
Replaces the power schemes for the system with default power schemes. All current power schemes and settings are deleted and replaced with the default system power schemes.
Syntax
DWORD WINAPI PowerRestoreDefaultPowerSchemes(void);
Parameters
This function has no parameters.
Return value
Returns ERROR_SUCCESS (zero) if the call was successful, and a nonzero value if the call failed.
Remarks
The caller must be a member of the local Administrators group.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|