What is DirectX?
DirectX is a set of components in Windows that allows software, primarily and especially games, to work directly with your video and audio hardware. Games that use DirectX can use multimedia accelerator features built-in to your hardware more efficiently which improves your overall multimedia experience.
Check which version of DirectX is installed
The DxDiag tool reports detailed information about the DirectX components and drivers installed on your system and can be used.