C++, Direct3D 9-11