Partager via


IAMLine21Decoder::GetDecoderLevel

 
Microsoft DirectShow 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 returned 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.

Requirements

Header: Include il21dec.h.

Library: Use Strmiids.lib.

See Also