次の方法で共有


IAMLine21Decoder::GetBackgroundColor

 
Microsoft DirectShow 9.0

IAMLine21Decoder::GetBackgroundColor

The GetBackgroundColor method retrieves the background color used by the Line 21 Decoder filter for overlay. The default background color is magenta.

Syntax

  HRESULT GetBackgroundColor(
  DWORD *pdwPhysColor
);

Parameters

pdwPhysColor

Pointer to a variable that receives the background color as a pixel color value. The meaning of the pixel value is defined by the bit depth of the filter's current output format.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_INVALIDARG Invalid argument
S_OK Success

Requirements

Header: Include il21dec.h.

Library: Use Strmiids.lib.

See Also