IAMLine21Decoder::SetServiceState

 
Microsoft DirectShow 9.0

IAMLine21Decoder::SetServiceState

The SetServiceState method enables or disables closed captions.

Syntax

  HRESULT SetServiceState(
  AM_LINE21_CCSTATE State
);

Parameters

State

Member of the AM_LINE21_CCSTATE enumeration, specify whether to enable or disable closed captions.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_INVALIDARG Invalid argument
S_OK Success

Requirements

Header: Include il21dec.h.

Library: Use Strmiids.lib.

See Also