SetActivePwrScheme (powrprof)
Last changed: anonymous

.
Summary
TODO - a short description

C# Signature:

[DllImport("powrprof.dll", SetLastError = true)]
private static extern bool SetActivePwrScheme(uint uiID, ref GlobalPowerPolicy lpGlobalPowerPolicy, ref PowerPolicy lpPowerPolicy);

// For usage of lpGlobalPowerPolicy and lpPowerPolicy with null values
[DllImport("powrprof.dll", SetLastError = true)]
private static extern bool SetActivePwrScheme(uint uiID, IntPtr lpGlobalPowerPolicy, IntPtr lpPowerPolicy);

VB Signature:

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

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation