summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/Microsoft
diff options
context:
space:
mode:
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>2018-08-26 21:03:12 -0700
committerJan Kotas <jkotas@microsoft.com>2018-08-27 16:03:23 -0700
commit9272df6f658e6d2badbccd8abdbd75201de64863 (patch)
tree463e90c2c585fa6f73c1dc6020e8f7b24a04f9e1 /src/System.Private.CoreLib/shared/Microsoft
parent41f67dba85067e7c7c72b316a2cf29a4ec7d1e15 (diff)
downloadcoreclr-9272df6f658e6d2badbccd8abdbd75201de64863.tar.gz
coreclr-9272df6f658e6d2badbccd8abdbd75201de64863.tar.bz2
coreclr-9272df6f658e6d2badbccd8abdbd75201de64863.zip
Using shared copy of registryvalueKind (dotnet/corefx#31922)
* using local copy of registryvaluekind and advapi32 * Moving complete file to shared * name changed Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/System.Private.CoreLib/shared/Microsoft')
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/RegistryValueKind.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/RegistryValueKind.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/RegistryValueKind.cs
index 5395abe067..bc6efcc06f 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/RegistryValueKind.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/RegistryValueKind.cs
@@ -11,12 +11,12 @@ namespace Microsoft.Win32
#endif
enum RegistryValueKind
{
- String = Interop.Kernel32.RegistryValues.REG_SZ,
- ExpandString = Interop.Kernel32.RegistryValues.REG_EXPAND_SZ,
- Binary = Interop.Kernel32.RegistryValues.REG_BINARY,
- DWord = Interop.Kernel32.RegistryValues.REG_DWORD,
- MultiString = Interop.Kernel32.RegistryValues.REG_MULTI_SZ,
- QWord = Interop.Kernel32.RegistryValues.REG_QWORD,
+ String = Interop.Advapi32.RegistryValues.REG_SZ,
+ ExpandString = Interop.Advapi32.RegistryValues.REG_EXPAND_SZ,
+ Binary = Interop.Advapi32.RegistryValues.REG_BINARY,
+ DWord = Interop.Advapi32.RegistryValues.REG_DWORD,
+ MultiString = Interop.Advapi32.RegistryValues.REG_MULTI_SZ,
+ QWord = Interop.Advapi32.RegistryValues.REG_QWORD,
Unknown = 0, // REG_NONE is defined as zero but BCL
None = unchecked((int)0xFFFFFFFF), // mistakenly overrode this value.
} // Now instead of using Interop.Kernel32.RegistryValues.REG_NONE we use "-1".