Fixed: Newer drivers with registry values introduced in Windows 8.1 were treated incorrectly in earlier versions of Windows.
This commit is contained in:
1 parent
0904587ac6
commit
e0016d941c
8 files changed
+116
-26
No files matched your search
+4
-3
@@ -102,8 +102,9 @@ bool DeviceAPOInfo::load(const wstring& deviceGuid)
|
||||
if(!found)
|
||||
found = tryAPOGuid(keyPath, gfxGuidValueName2, false, true);
|
||||
|
||||
foundAPO2Values = RegistryHelper::valueExists(keyPath + L"\\FxProperties", lfxGuidValueName2)
|
||||
|| RegistryHelper::valueExists(keyPath + L"\\FxProperties", gfxGuidValueName2);
|
||||
foundAPO2Values = RegistryHelper::isWindowsVersionAtLeast(6, 3) // Windows 8.1
|
||||
&& (RegistryHelper::valueExists(keyPath + L"\\FxProperties", lfxGuidValueName2)
|
||||
|| RegistryHelper::valueExists(keyPath + L"\\FxProperties", gfxGuidValueName2));
|
||||
|
||||
if(found)
|
||||
{
|
||||
@@ -257,4 +258,4 @@ bool DeviceAPOInfo::tryAPOGuid(const wstring& keyPath, const wchar_t* valueName,
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user