Microsoft DirectX 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

See Also