RegFlushKey

[DllImport("coredll.dll", SetLastError = true)]
public static extern int RegFlushKey(
   IntPtr hKey
);

Microsoft documentation: Link

Last updated