GetActivePwrScheme

[DllImport("powrprof.dll", SetLastError = true)]
public static extern bool GetActivePwrScheme(
   IntPtr UserRootPowerKey,
   ref IntPtr ActivePolicyGuid
);

Microsoft documentation: Linkarrow-up-right

Last updated