If an older game refuses to launch on Windows 10 because of a DirectX error, it usually means the game relies on legacy DirectX 9, 10, or 11 files that were not carried over into the default Windows 10 image.
They often just package the older DirectX End-User Runtime Web Installer, which only updates DX9, DX10, and DX11 components. How to Get or Update DirectX 12 Offline
Upgrading to a 64-bit Windows 10 environment with DirectX 12 offers several technical advantages for gamers: directx 12 windows 10 64 bit offline installer
DirectX 12 is deeply integrated into the Windows 10 operating system from the moment it is installed.
Allows the GPU to execute graphics and compute workloads simultaneously, saving valuable rendering time. If an older game refuses to launch on
DirectX End-User Runtimes (June 2010) from the official Microsoft Download Center.
Как установить последнюю версию DirectX - Microsoft Support Allows the GPU to execute graphics and compute
Many modern games (even those labeled "DX12") rely on older DLL files. Consequently, running a simple "web installer" is often the only way to guarantee compatibility.