doc/AddASetting.md
Add to wincon.w
.../console/published/wincon.w in the OS repo when you submit the PR.
The branch won't build without it.CONSOLE_REGISTRY_CURSORCOLOR)CONSOLE_STATE_INFO.DEFINE_PROPERTYKEY defs are the same, it's only the last byte of the guid that changes.Add matching fields to Settings.hpp
Add to the propsheet
src/propsheet/registry.cpp
propsheet/registry.cpp@InitRegistryValues should initialize the default value for the property.propsheet/registry.cpp@GetRegistryValues should make sure to read the property from the registry.Add the field to the propslib registry map.
Add the value to ShortcutSerialization.cpp
ShortcutSerialization::s_PopulateV2PropertiesShortcutSerialization::s_SetLinkValuesAdd the setting to Menu::s_GetConsoleState, and Menu::s_PropertiesUpdate
Now, your new setting should be stored just like all the other properties.
Update the feature test properties to get add the setting as well
ft_uia/Common/NativeMethods.cs@WinConP:
Wtypes.PROPERTYKEY PKEY_Console_.NT_CONSOLE_PROPS.Add the default value for the setting to win32k-settings.man
nullptr, then you'll need to set the default value of the setting in win32k-settings.man.Update Settings::InitFromStateInfo and Settings::CreateConsoleStateInfo to get/set the value in a CONSOLE_STATE_INFO appropriately.