| Microsoft DirectX 9.0 |
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 |
See Also