Well, DirectX was win95 and later right? Windows Enhanced mode and future is kind of both on top of and underneath dos. There's a kind of wild layering that happens.
Fun fact, Win 95, 98 and ME booted DOS and autoexec'd win for you.
There was WinG (aka DirectX 1) that worked in Win 3.11 with Win32s.
Fun fact, Win 95, 98 and ME booted DOS and autoexec'd win for you.