More corelib cleanup (dotnet/coreclr#26993)
[mono-project.git] / netcore / System.Private.CoreLib / shared / Interop / Windows / Advapi32 / Interop.RegFlushKey.cs
blobccbecb608973a39157bb0feff71c91ebbdcdf71f
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 #if REGISTRY_ASSEMBLY
6 using Microsoft.Win32.SafeHandles;
7 #else
8 using Internal.Win32.SafeHandles;
9 #endif
10 using System.Runtime.InteropServices;
12 internal static partial class Interop
14 internal static partial class Advapi32
16 [DllImport(Libraries.Advapi32)]
17 internal static extern int RegFlushKey(SafeRegistryHandle hKey);