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.
7 using Microsoft
.Win32
.SafeHandles
;
9 using Internal
.Win32
.SafeHandles
;
11 using System
.Runtime
.InteropServices
;
13 internal static partial class Interop
15 internal static partial class Advapi32
17 [DllImport(Libraries
.Advapi32
, CharSet
= CharSet
.Unicode
, BestFitMapping
= false, EntryPoint
= "RegQueryValueExW")]
18 internal static extern int RegQueryValueEx(
19 SafeRegistryHandle hKey
,
26 [DllImport(Libraries
.Advapi32
, CharSet
= CharSet
.Unicode
, BestFitMapping
= false, EntryPoint
= "RegQueryValueExW")]
27 internal static extern int RegQueryValueEx(
28 SafeRegistryHandle hKey
,
35 [DllImport(Libraries
.Advapi32
, CharSet
= CharSet
.Unicode
, BestFitMapping
= false, EntryPoint
= "RegQueryValueExW")]
36 internal static extern int RegQueryValueEx(
37 SafeRegistryHandle hKey
,
44 [DllImport(Libraries
.Advapi32
, CharSet
= CharSet
.Unicode
, BestFitMapping
= false, EntryPoint
= "RegQueryValueExW")]
45 internal static extern int RegQueryValueEx(
46 SafeRegistryHandle hKey
,