IDirect3DRM::CreateMesh

HRESULT CreateMesh(LPDIRECT3DRMMESH* lplpD3DRMMesh);

Creates a new mesh object with no faces. The mesh is not visible until it is added to a frame.

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

lplpD3DRMMesh

Address that will be filled with a pointer to an IDirect3DRMMesh interface if the call succeeds.