EnumPwrSchemes (powrprof)
Last changed: -84.81.49.194

.
Summary
Enumerates all power schemes. For each power scheme enumerated, the function calls a callback function with information about the power scheme

C# Signature:

[DllImport("powrprof.dll", SetLastError=true)]
private static extern bool EnumPwrSchemes(PwrSchemesEnumProc lpfnPwrSchemesEnumProc, int lParam);

VB Signature:

Declare Function EnumPwrSchemes Lib "powrprof.dll" (TODO) As TODO

User-Defined Types:

PwrSchemesEnumProc

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

EnumPwrSchemes is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Applications written for Windows Vista and later should use PowerEnumerate instead.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation