Share via


IAMLine21Decoder::GetCurrentService

 
Microsoft DirectShow 9.0

IAMLine21Decoder::GetCurrentService

The GetCurrentService method retrieves the current closed captioning service.

Syntax

  HRESULT GetCurrentService(
  AM_LINE21_CCSERVICE *lpService
);

Parameters

lpService

Pointer to a variable that receives a member of the AM_LINE21_CCSERVICE enumeration. The default service is CC1.

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