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