PowerCanRestoreIndividualDefaultPowerScheme function (powrprof.h)

Determines if the current user has access to the data for the specified power scheme so that it could be restored if necessary.

Syntax

DWORD PowerCanRestoreIndividualDefaultPowerScheme(
  [in] const GUID *SchemeGuid
);

Parameters

[in] SchemeGuid

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

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

See also

Power Management Functions