mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-01-19 02:02:29 +00:00
[idd] helper: save mode changes into registry and update listview
This commit is contained in:
@@ -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