Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes #265
Fixes #58
  • Loading branch information
rcmaehl committed Jun 30, 2021
1 parent 6da3237 commit b87bfb4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions WhyNotWin11.au3
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit b87bfb4

Please sign in to comment.