Share via


AM_LINE21_CCSTATE enumeration (il21dec.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Indicates the closed captioning state (on or off).

Syntax

typedef enum _AM_LINE21_CCSTATE {
  AM_L21_CCSTATE_Off = 0,
  AM_L21_CCSTATE_On
} AM_LINE21_CCSTATE, *PAM_LINE21_CCSTATE;

Constants

 
AM_L21_CCSTATE_Off
Value: 0
Closed captioning off.
AM_L21_CCSTATE_On
Closed captioning on.

Requirements

Requirement Value
Header il21dec.h

See also

DirectShow Enumerated Types

IAMLine21Decoder::GetServiceState

IAMLine21Decoder::SetServiceState