IDirect3DRMFrame::DeleteVisual

HRESULT DeleteVisual(LPDIRECT3DRMVISUAL lpD3DRMVisual);

Removes a visual object from a frame, destroying it if it is no longer referenced.

·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 removed.