Windows Dev Center

IVMRMixerControl9::SetBackgroundClr method

The SetBackgroundClr method sets the background color on the output rectangle.

Syntax


HRESULT SetBackgroundClr(
  [in] COLORREF ClrBkg
);

Parameters

ClrBkg [in]

Specifies the background color.

Return value

The method returns an HRESULT. Possible values include those in the following table.

Return codeDescription
S_OK

The method succeeded.

 

Remarks

Include DShow.h and D3d9.h before Vmr9.h.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Vmr9.h

Library

Strmiids.lib

See also

Using the Video Mixing Renderer
IVMRMixerControl9 Interface

 

 

Community Additions

ADD
Show:
© 2015 Microsoft