Microsoft DirectX 8.1 (C++)

IAMLine21Decoder::GetCurrentService

The GetCurrentService method retrieves the current closed captioning service selected by the user.

Syntax

HRESULT GetCurrentService(
  AM_LINE21_CCSERVICE *lpService
);

Parameters

lpService

Pointer to the current 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