[DllImport("powrprof.dll", SetLastError = true)] public static extern bool PowerDuplicateScheme( IntPtr RootPowerKey, ref IntPtr DestinationPowerKey );
Microsoft documentation: Link
Last updated 1 year ago