DirectX 是微軟公司提供的一套優秀的應用程序編程接口(APIs),用於聯繫應用程序和硬件自身,它對發展 Windows 平台下的多媒體應用程序和電腦遊戲起到了關鍵的作用。DirectX 組件包括:DirectDraw、DirectSound、DirectPlay、Direct3D、DirectInput、DirectSetup、AutoPlay 等。總之,DirectX 的主要好處有兩個:為軟件開發者提供與硬件的無關性;為硬件開發提供策略。