IDirect3DRMViewport::Clear

HRESULT Clear();

Clears the given viewport to the current background color.

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