PowrProfPowerDeleteScheme Method

Deletes the specified power scheme from the database.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("PowrProf.dll")]
public static Win32ErrorCode PowerDeleteScheme(
	IntPtr rootPowerKey,
	Guid schemeGuid
)

Parameters

rootPowerKey  IntPtr
Reserved for future use, this must be set to Zero.
schemeGuid  Guid
A Guid referring to the power scheme.

Return Value

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

Remarks

See Also