HRESULT AddVisual(LPDIRECT3DRMVISUAL lpD3DRMVisual);
Adds a visual object 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.
lpD3DRMVisual
Address of a variable that represents the Direct3DRMVisual object to be added to the frame.
Visual objects include meshes and textures. When a visual object is added to a frame, it becomes visible if the frame is in view. The visual object is referenced by the frame.