Microsoft DirectX 8.1 (C++)

IAMLine21Decoder::SetDrawBackgroundMode

The SetDrawBackgroundMode method sets whether to make the caption text background opaque or transparent.

Syntax

HRESULT SetDrawBackgroundMode(
  AM_LINE21_DRAWBGMODE Mode
);

Parameters

Mode

Mode to set. Supported mode values are AM_L21_DRAWBGMODE_Opaque and AM_L21_DRAWBGMODE_Transparent.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. The current DirectShow implementation returns E_INVALIDARG if a parameter is invalid or NOERROR to indicate success.

Remarks

By default, the caption background is opaque.

See Also