summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/Microsoft/Win32/RegistryValueKind.cs
blob: 90c880b2788891e5fb3ebeb036366a0c459e2a8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace Microsoft.Win32
{
    internal enum RegistryValueKind
    {
        String = Win32Native.REG_SZ,
        ExpandString = Win32Native.REG_EXPAND_SZ,
        Binary = Win32Native.REG_BINARY,
        DWord = Win32Native.REG_DWORD,
        MultiString = Win32Native.REG_MULTI_SZ,
        QWord = Win32Native.REG_QWORD,
        Unknown = 0,

        // REG_NONE is defined as zero but BCL, mistakingly overrode this value.
        // Now instead of using Win32Native.REG_NONE we use "-1" and play games internally.
        None = unchecked((int)0xFFFFFFFF),
    }
}