OnD3D9FrameRender( IDirect3DDevice9* pd3dDevice, double fTime, float fElapsedTime, void* pUserContext )

これを見てDirectXと関係ないとか脳沸き杉だろwww