Microsoft DirectX 8.1 (C++)

IAMLine21Decoder::SetCurrentService

The SetCurrentService method sets the current closed captioning service.

Syntax

HRESULT SetCurrentService(
  AM_LINE21_CCSERVICE Service
);

Parameters

Service

Specified service. This value is a member of the AM_LINE21_CCSERVICE enumeration. The default service is AM_L21_CCSERVICE_Caption1.

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