Searched refs:hKey (Results 1 – 1 of 1) sorted by relevance
/php-src/win32/ |
H A D | registry.c | 41 static int OpenPhpRegistryKey(char* sub_key, HKEY *hKey) in OpenPhpRegistryKey() argument 57 ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE, reg_key, 0, KEY_READ, hKey); in OpenPhpRegistryKey() 67 if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, *key_name, 0, KEY_READ, hKey) == ERROR_SUCCESS) { in OpenPhpRegistryKey() 285 HKEY hKey; in GetIniPathFromRegistry() local 287 if (OpenPhpRegistryKey(NULL, &hKey)) { in GetIniPathFromRegistry() 290 if(RegQueryValueEx(hKey, PHPRC_REGISTRY_NAME, 0, NULL, reg_location, &buflen) != ERROR_SUCCESS) { in GetIniPathFromRegistry() 291 RegCloseKey(hKey); in GetIniPathFromRegistry() 296 RegCloseKey(hKey); in GetIniPathFromRegistry()
|
Completed in 6 milliseconds