mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
**WARNING:** This PR will probably blow up all in-flight PRs at some point in the early days of CmdPal, two of us created seperate `Exts` and `exts` dirs. Depending on what the casing was on the branch that you checked one of those out from, it'd get stuck like that on your PC forever. Windows didn't care, so we never noticed. But GitHub does care, and now browsing the source on GitHub is basically impossible. Closes #38081
52 lines
1.8 KiB
C#
52 lines
1.8 KiB
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
namespace Microsoft.CmdPal.Ext.Registry.Constants;
|
|
|
|
/// <summary>
|
|
/// This class contains names for important registry keys
|
|
/// </summary>
|
|
internal static class KeyName
|
|
{
|
|
/// <summary>
|
|
/// The first name part of each base key without the underscore
|
|
/// </summary>
|
|
internal const string FirstPart = "HKEY";
|
|
|
|
/// <summary>
|
|
/// The first name part of each base key follow by a underscore
|
|
/// </summary>
|
|
internal const string FirstPartUnderscore = "HKEY_";
|
|
|
|
/// <summary>
|
|
/// The short name for the base key HKEY_CLASSES_ROOT (see <see cref="Win32.Registry.ClassesRoot"/>)
|
|
/// </summary>
|
|
internal const string ClassRootShort = "HKCR";
|
|
|
|
/// <summary>
|
|
/// The short name for the base key HKEY_CURRENT_CONFIG (see <see cref="Win32.Registry.CurrentConfig"/>)
|
|
/// </summary>
|
|
internal const string CurrentConfigShort = "HKCC";
|
|
|
|
/// <summary>
|
|
/// The short name for the base key HKEY_CURRENT_USER (see <see cref="Win32.Registry.CurrentUser"/>)
|
|
/// </summary>
|
|
internal const string CurrentUserShort = "HKCU";
|
|
|
|
/// <summary>
|
|
/// The short name for the base key HKEY_LOCAL_MACHINE (see <see cref="Win32.Registry.LocalMachine"/>)
|
|
/// </summary>
|
|
internal const string LocalMachineShort = "HKLM";
|
|
|
|
/// <summary>
|
|
/// The short name for the base key HKEY_PERFORMANCE_DATA (see <see cref="Win32.Registry.PerformanceData"/>)
|
|
/// </summary>
|
|
internal const string PerformanceDataShort = "HKPD";
|
|
|
|
/// <summary>
|
|
/// The short name for the base key HKEY_USERS (see <see cref="Win32.Registry.Users"/>)
|
|
/// </summary>
|
|
internal const string UsersShort = "HKU";
|
|
}
|