IDirect3DRMFace::SetColorRGB

HRESULT SetColorRGB(D3DVALUE red, D3DVALUE green, D3DVALUE blue);

Sets a Direct3DRMFace object to a given color.

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

red, green, and blue

The red, green, and blue components of the color.