Lines Matching refs:hKey
601 HKEY hKey; in UninstallPatchedFiles() local
607 if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey.c_str(), &hKey ) ) in UninstallPatchedFiles()
609 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in UninstallPatchedFiles()
613 RegCloseKey( hKey ); in UninstallPatchedFiles()
615 else if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE, sProductKey.c_str(), &hKey ) ) in UninstallPatchedFiles()
617 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in UninstallPatchedFiles()
621 RegCloseKey( hKey ); in UninstallPatchedFiles()
776 HKEY hKey; in SetFeatureState() local
777 if (RegOpenKey(registryRoot, registryKey.c_str(), &hKey) == ERROR_SUCCESS) in SetFeatureState()
791 …lEnumResult = RegEnumValue( hKey, counter, szValueName, pValueNameSize, NULL, NULL, (LPBYTE)szValu… in SetFeatureState()
826 RegCloseKey( hKey ); in SetFeatureState()