Microsoft DirectX 8.1 (C++)

IAMLine21Decoder::SetServiceState

The SetServiceState method sets the closed captioning service state.

Syntax

HRESULT SetServiceState(
  AM_LINE21_CCSTATE State
);

Parameters

State

Specified state. Supported state values are AM_L21_CCSTATE_On and AM_L21_CCSTATE_Off. Closed-captioned text is off by default.

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.

See Also