共用方式為


IVMRMixerControl::GetBackgroundClr

 
Microsoft DirectShow 9.0

IVMRMixerControl::GetBackgroundClr

Gets the current background color on the output rectangle.

Syntax

  HRESULT GetBackgroundClr(
  COLORREF* ClrBkg
);

Parameters

ClrBkg

[in] Address of a variable that receives the background color.

Return Values

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