Lines Matching refs:hKey
90 static bool readFullStringValue(HKEY hkey, const char *valueName,
101 result = RegQueryValueEx(hkey, valueName, NULL, &type, NULL, &valueSize);
105 result = RegQueryValueEx(hkey, valueName, NULL, NULL, &buffer[0], &valueSize);
125 HKEY hRootKey = HKEY_LOCAL_MACHINE;
126 HKEY hKey = NULL;
148 HKEY hTopKey = NULL;
176 KEY_READ | KEY_WOW64_32KEY, &hKey);
178 lResult = readFullStringValue(hKey, valueName, value);
185 RegCloseKey(hKey);
194 RegOpenKeyEx(hRootKey, keyPath, 0, KEY_READ | KEY_WOW64_32KEY, &hKey);
196 lResult = readFullStringValue(hKey, valueName, value);
201 RegCloseKey(hKey);