IAMLine21Decoder::GetServiceState

 
Microsoft DirectShow 9.0

IAMLine21Decoder::GetServiceState

The GetServiceState method indicates whether closed captioning is on or off.

Syntax

  HRESULT GetServiceState(
  AM_LINE21_CCSTATE *lpState
);

Parameters

lpState

Pointer to a variable that receives a member of the AM_LINE21_CCSTATE enumeration.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_INVALIDARG Invalid argument
S_OK Success

Remarks

By default, the Line 21 Decoder enables closed captioning.

Requirements

Header: Include il21dec.h.

Library: Use Strmiids.lib.

See Also