IDirect3DRMMesh::GetBox

HRESULT GetBox(D3DRMBOX * lpD3DRMBox);

Retrieves the bounding box containing a Direct3DRMMesh object. The bounding box gives the minimum and maximum model coordinates in each dimension.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

lpD3DRMBox

Address of a D3DRMBOX structure that will be filled with the bounding box coordinates.