[idd] helper: save mode changes into registry and update listview
This commit is contained in:
1 parent
bf77128053
commit
7d33b93a50
4 files changed
+31
-4
No files matched your search
@@ -17,7 +17,7 @@ CRegistrySettings::~CRegistrySettings()
|
||||
LSTATUS CRegistrySettings::open()
|
||||
{
|
||||
HKEY key;
|
||||
LSTATUS result = RegOpenKeyEx(HKEY_LOCAL_MACHINE, LGIDD_REGKEY, 0, KEY_QUERY_VALUE, &key);
|
||||
LSTATUS result = RegOpenKeyEx(HKEY_LOCAL_MACHINE, LGIDD_REGKEY, 0, KEY_QUERY_VALUE | KEY_SET_VALUE, &key);
|
||||
|
||||
if (result == ERROR_SUCCESS)
|
||||
hKey = key;
|
||||
|
||||
Reference in new issue
Block a user