Microsoft DirectX 9.0

IAMLine21Decoder::GetDecoderLevel

The GetDecoderLevel method retrieves the closed-captioned decoder level.

Syntax

HRESULT GetDecoderLevel(
  AM_LINE21_CCLEVEL *lpLevel
);

Parameters

lpLevel

Pointer to a variable that receives a member of the AM_LINE21_CCLEVEL enumeration. The retruend value is always AM_L21_CCLEVEL_TC2 (TeleCaption II).

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_INVALIDARG Invalid argument
S_OK Success

Remarks

TeleCaption I and TeleCaption II are standards for closed caption decoders. The Line 21 Decoder filter supports TeleCaption II, which is backward compatible with TeleCaption I.

See Also