Microsoft DirectX 9.0 |
The SetServiceState method enables or disables closed captions.
Syntax
HRESULT SetServiceState(
AM_LINE21_CCSTATE State
);
Parameters
State
Member of the AM_LINE21_CCSTATE enumeration, specify whether to enable or disable closed captions.
Return Values
Returns an HRESULT value. Possible values include the following.
Value | Description |
E_INVALIDARG | Invalid argument |
S_OK | Success |
See Also