MCPcopy Create free account
hub / github.com/ALTaleX531/OpenGlass / SetString

Method SetString

OpenGlassGUI/RegistryConfig.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void RegistryConfig::SetString(const std::wstring& valueName, const std::wstring& value)
82 {
83 auto key = OpenKey(false);
84 if (!key) return;
85
86 wil::reg::set_value_string_nothrow(key.get(), valueName.c_str(), value.c_str());
87 }
88
89 bool RegistryConfig::TryGetString(const std::wstring& valueName, std::wstring& value) const
90 {

Callers 2

RevertSettingsMethod · 0.80
BindEventsMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected