IAMWstDecoder::SetBackgroundColor

 
Microsoft DirectShow 9.0

IAMWstDecoder::SetBackgroundColor

Downstream filters use the SetBackgroundColor method to assign the physical color to be used in color keying the background for overlay mixing.

Syntax

  HRESULT SetBackgroundColor(
  
  DWORD
  
  dwPhysColor
  
  );

Parameters

dwPhysColor

[in]  Specifies a DWORD containing the physical color.

Return Values

When the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header: Include Iwstdec.h.

Library: Use Strmiids.lib.

See Also