Introduction - If you have any usage issues, please Google them yourself
Program design based on Direct3D// create a Direct3D object, the object used to create Direct3D device object if (NULL == (g_pD3D = Direct3DCreate9 (D3D_SDK_VERSION))) return E_FAIL// set D3DPRESENT_PARAMETERS structure, ready to create a Direct3D device object D3DPRESENT_PARAMETERS d3dpp ZeroMemory (