Compartilhar via


IAMLine21Decoder::SetCurrentService

 
Microsoft DirectShow 9.0

IAMLine21Decoder::SetCurrentService

The SetCurrentService method sets the closed captioning service.

Syntax

  HRESULT SetCurrentService(
  AM_LINE21_CCSERVICE Service
);

Parameters

Service

Member of the AM_LINE21_CCSERVICE enumeration that specifies the closed captioning service. The default service is CC1.

Return Values

Value Description
E_INVALIDARG Invalid argument
E_NOTIMPL The requested service is not implemented.
S_OK Success

Requirements

Header: Include il21dec.h.

Library: Use Strmiids.lib.

See Also