Searched refs:keyPath (Results 1 – 1 of 1) sorted by relevance
174 static bool getSystemRegistryString(const char *keyPath, const char *valueName, in getSystemRegistryString() argument184 const char *placeHolder = strstr(keyPath, "$VERSION"); in getSystemRegistryString()191 while ((keyEnd > keyPath) && (*keyEnd != '\\')) in getSystemRegistryString()196 size_t partialKeyLength = keyEnd - keyPath; in getSystemRegistryString()200 strncpy(partialKey, keyPath, partialKeyLength); in getSystemRegistryString()248 RegOpenKeyExA(hRootKey, keyPath, 0, KEY_READ | KEY_WOW64_32KEY, &hKey); in getSystemRegistryString()