Export (0) Print
Expand All
Expand Minimize

PowerRestoreIndividualDefaultPowerScheme function

Replaces a specific power scheme for the current user with one from the default user (stored in HKEY_USERS\.Default)

Syntax


DWORD WINAPI PowerRestoreIndividualDefaultPowerScheme(
  _In_  const GUID *SchemeGuid
);

Parameters

SchemeGuid [in]

The identifier of the power scheme.

Return value

Returns ERROR_SUCCESS (zero) if the call was successful, and a nonzero value if the call failed.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

PowrProf.h

Library

PowrProf.lib

DLL

PowrProf.dll

See also

Power Management Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft