IDirect3DRMFrame::InverseTransform
HRESULT InverseTransform(D3DVECTOR *lprvDst, D3DVECTOR *lprvSrc);
Transforms the vector in the lprvSrc parameter in world coordinates to frame coordinates, and returns the result in the lprvDst parameter.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
lprvDst
Address of a D3DVECTOR structure that will be filled with the result of the transformation.
lprvSrc
Address of a D3DVECTOR structure that is the source of the transformation.