
You have to manually list the 11.1 value in the array to get it-assuming the system+driver combo actually supports it. This is for backcompat reasons and ensures the behavior doesn't change where NULL gets you 9.1 - 11.0.

If you pass NULL for pFeatureLevels to D3DCreateDevice even on Windows 8.x, you will still not get D3D_FEATURE_LEVEL_11_1.You could try using the latest version of dxcapsviewer in the Windows 8.1 SDK which is a bit more sophisticated in how it check things, but still needs manually updating over time so it currently says nothing about Windows 10 features like DX 11.3 or DX 12. In short, DXDIAG is not your best option for technical details like this. On Windows 8.1 it still says "DirectX 11" and not "DirectX 11.2". Similarly, with both Windows 8 and Windows 7 SP 1 + KB2670838 installed it still says "DirectX 11" and not "DirectX 11.1". For Windows Vista SP1 it doesn't say "DirectX 10.1" and says "DirectX 10". DXDIAG is part of the OS along with the DirectX Runtime but is also manually updated for that string, so it is often less than detailed/accurate about reporting "DirectX" version.Not all versions of Windows can run the latest versions of DirectX.There are a number of confounding factors at work here, so let's take them one at a time: If you have Windows 10, then you already have the latest version of DirectX installed. To get the latest version of DirectX for your version of Windows, use Windows Update. We recommend that you select Yes to help ensure that your drivers have been signed by a publisher that has verified their authenticity. The first time you use the DirectX Diagnostic Tool, you might be asked whether you want to check if your drivers are digitally signed. In the DirectX Diagnostic Tool, select the System tab, then check the DirectX version number under System Information. To check which version of DirectX is on your PC using the DirectX Diagnostic Tool, select the Start button and type dxdiag in the search box, then press Enter.


If your PC doesn't have the right version of DirectX installed (the product box should tell you which one you need), your game might not work properly. DirectX is a suite of multimedia technologies required by many Windows games.
