IDirect3DRMFrame::DeleteVisual
Removes a visual object from a frame, destroying it if it is no longer referenced.
HRESULT DeleteVisual(
LPDIRECT3DRMVISUAL lpD3DRMVisual
);
Parameters
lpD3DRMVisual
Address of a variable that represents the Direct3DRMVisual object to be removed.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.