RegFlushKey() private method

private RegFlushKey ( IntPtr keyHandle ) : int
keyHandle System.IntPtr
return int
        public void Flush(RegistryKey rkey)
        {
            if (!Win32RegistryApi.IsHandleValid(rkey))
            {
                return;
            }
            IntPtr handle = Win32RegistryApi.GetHandle(rkey);

            Win32RegistryApi.RegFlushKey(handle);
        }