共用方式為


IVMRMixerControl::SetBackgroundClr

 
Microsoft DirectShow 9.0

IVMRMixerControl::SetBackgroundClr

Sets the background color on the output rectangle.

Syntax

  HRESULT SetBackgroundClr(
  COLORREF ClrBkg
);

Parameters

ClrBkg

[in]  Specifies the background color.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also