IAMWstDecoder::SetServiceState
Microsoft DirectShow 9.0 |
IAMWstDecoder::SetServiceState
Applications use the SetServiceState method to assign the service state.
Syntax
HRESULT SetServiceState( AM_WST_STATE State );
Parameters
State
[in] Specifies a member of an AM_WST_STATE enumeration to assign the service state.
Value | Description |
AM_WST_STATE_On | Closed captioning on. |
AM_WST_STATE_Off | Closed captioning off. |
Return Values
When the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Header: Include Iwstdec.h.
Library: Use Strmiids.lib.
See Also