diff --git a/WhyNotWin11.au3 b/WhyNotWin11.au3 index 56687316..96dba8b2 100644 --- a/WhyNotWin11.au3 +++ b/WhyNotWin11.au3 @@ -678,27 +678,27 @@ Func Main() Case Not ProcessExists("dxdiag.exe") And FileExists($hDXFile) $sDXFile = StringStripWS(StringStripCR(FileRead($hDXFile)), $STR_STRIPALL) Select - Case StringInStr($sDXFile, "DDIVersion:12") And StringInStr($sDXFile, "DriverModel:WDDM" & Chr(160) & "3") ; Non-English Languages + Case StringInStr($sDXFile, "FeatureLevels:12") And StringInStr($sDXFile, "DriverModel:WDDM" & Chr(160) & "3") ; Non-English Languages ContinueCase - Case StringInStr($sDXFile, "DDIVersion:12") And StringInStr($sDXFile, "DriverModel:3") ; Non-English Languages + Case StringInStr($sDXFile, "FeatureLevels:12) And StringInStr($sDXFile, "DriverModel:3") ; Non-English Languages ContinueCase - Case StringInStr($sDXFile, "DDIVersion:12") And StringInStr($sDXFile, "DriverModel:WDDM3") + Case StringInStr($sDXFile, "FeatureLevels:12) And StringInStr($sDXFile, "DriverModel:WDDM3") GUICtrlSetData($hCheck[5][0], "OK") GUICtrlSetBkColor($hCheck[5][0], 0x4CC355) GUICtrlSetData($hCheck[5][2], "DirectX 12 && WDDM 3") - Case StringInStr($sDXFile, "DDIVersion:12") And StringInStr($sDXFile, "DriverModel:WDDM" & Chr(160) & "2") ; Non-English Languages + Case StringInStr($sDXFile, "FeatureLevels:12) And StringInStr($sDXFile, "DriverModel:WDDM" & Chr(160) & "2") ; Non-English Languages ContinueCase - Case StringInStr($sDXFile, "DDIVersion:12") And StringInStr($sDXFile, "DriverModel:2") ; Non-English Languages + Case StringInStr($sDXFile, "FeatureLevels:12) And StringInStr($sDXFile, "DriverModel:2") ; Non-English Languages ContinueCase - Case StringInStr($sDXFile, "DDIVersion:12") And StringInStr($sDXFile, "DriverModel:WDDM2") + Case StringInStr($sDXFile, "FeatureLevels:12) And StringInStr($sDXFile, "DriverModel:WDDM2") GUICtrlSetData($hCheck[5][0], "OK") GUICtrlSetBkColor($hCheck[5][0], 0x4CC355) GUICtrlSetData($hCheck[5][2], "DirectX 12 && WDDM 2") - Case Not StringInStr($sDXFile, "DDIVersion:12") And StringInStr($sDXFile, "DriverModel:WDDM2") + Case Not StringInStr($sDXFile, "FeatureLevels:12) And StringInStr($sDXFile, "DriverModel:WDDM2") GUICtrlSetData($hCheck[5][0], "X") GUICtrlSetBkColor($hCheck[5][0], 0xFA113D) GUICtrlSetData($hCheck[5][2], _Translate($iMUI, "No DirectX 12, but WDDM2")) - Case StringInStr($sDXFile, "DDIVersion:12") And Not StringInStr($sDXFile, "DriverModel:WDDM2") + Case StringInStr($sDXFile, "FeatureLevels:12) And Not StringInStr($sDXFile, "DriverModel:WDDM2") GUICtrlSetData($hCheck[5][0], "X") GUICtrlSetBkColor($hCheck[5][0], 0xFA113D) GUICtrlSetData($hCheck[5][2], _Translate($iMUI, "DirectX 12, but no WDDM2"))