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. 4 5 namespace Microsoft.Win32 6 { 7 #if REGISTRY_ASSEMBLY 8 public 9 #else 10 internal 11 #endif 12 enum RegistryValueKind 13 { 14 String = Interop.mincore.RegistryValues.REG_SZ, 15 ExpandString = Interop.mincore.RegistryValues.REG_EXPAND_SZ, 16 Binary = Interop.mincore.RegistryValues.REG_BINARY, 17 DWord = Interop.mincore.RegistryValues.REG_DWORD, 18 MultiString = Interop.mincore.RegistryValues.REG_MULTI_SZ, 19 QWord = Interop.mincore.RegistryValues.REG_QWORD, 20 Unknown = 0, // REG_NONE is defined as zero but BCL 21 None = unchecked((int)0xFFFFFFFF), // mistakenly overrode this value. 22 } // Now instead of using Interop.mincore.RegistryValues.REG_NONE we use "-1". 23 } 24