[DllImport("powrprof.dll", SetLastError = true)] public static extern bool PowerEnumerate( IntPtr RootPowerKey, ref Guid SchemeGuid, ref Guid SubGroupOfPowerSetting, uint AccessFlags, uint Index, ref Guid SettingGuid );
Microsoft documentation: Link
Last updated 1 year ago