Share via


IAMLine21Decoder::GetDrawBackgroundMode

 
Microsoft DirectShow 9.0

IAMLine21Decoder::GetDrawBackgroundMode

The GetDrawBackgroundMode method indicates whether the Line 21 Decoder filter draws the captions on a transparent background or an opaque background. By default, the caption background is opaque.

Syntax

  HRESULT GetDrawBackgroundMode(
  AM_LINE21_DRAWBGMODE *lpMode
);

Parameters

lpMode

Pointer a variable that receives a member of the AM_LINE21_DRAWBGMODE enumeration.

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