Lines Matching refs:hKey
572 HKEY hKey; in SuccessPage_Show() local
578 &hKey in SuccessPage_Show()
581 res = RegQueryValueExW(hKey, L"LongPathsEnabled", nullptr, &dataType, in SuccessPage_Show()
583 RegCloseKey(hKey); in SuccessPage_Show()
2819 HKEY hKey; in LoadOptionalFeatureStatesFromKey() local
2823 res = RegOpenKeyExW(hkHive, subkey, 0, KEY_READ | KEY_WOW64_64KEY, &hKey); in LoadOptionalFeatureStatesFromKey()
2825 res = RegOpenKeyExW(hkHive, subkey, 0, KEY_READ | KEY_WOW64_32KEY, &hKey); in LoadOptionalFeatureStatesFromKey()
2835 res = RegQueryValueExW(hKey, p->regName, nullptr, nullptr, nullptr, nullptr); in LoadOptionalFeatureStatesFromKey()
2841 RegCloseKey(hKey); in LoadOptionalFeatureStatesFromKey()
2846 RegCloseKey(hKey); in LoadOptionalFeatureStatesFromKey()
2855 HKEY hKey; in LoadTargetDirFromKey() local
2862 res = RegOpenKeyExW(hkHive, subkey, 0, KEY_READ | KEY_WOW64_64KEY, &hKey); in LoadTargetDirFromKey()
2864 res = RegOpenKeyExW(hkHive, subkey, 0, KEY_READ | KEY_WOW64_32KEY, &hKey); in LoadTargetDirFromKey()
2873 res = RegQueryValueExW(hKey, nullptr, nullptr, &dataType, buffer, &bufferLen); in LoadTargetDirFromKey()
2877 RegCloseKey(hKey); in LoadTargetDirFromKey()
2886 HKEY hKey; in LoadAssociateFilesStateFromKey() local
2890 res = RegOpenKeyExW(hkHive, subkey, 0, KEY_READ | KEY_WOW64_32KEY, &hKey); in LoadAssociateFilesStateFromKey()
2899 res = RegQueryValueExW(hKey, L"AssociateFiles", nullptr, nullptr, nullptr, nullptr); in LoadAssociateFilesStateFromKey()
2908 RegCloseKey(hKey); in LoadAssociateFilesStateFromKey()