IAMWstDecoder::GetServiceState
Microsoft DirectShow 9.0 |
IAMWstDecoder::GetServiceState
Applications use the GetServiceState method to retrieve the current service state.
Syntax
HRESULT GetServiceState AM_WST_STATE* lpState );
Parameters
lpState
[out] Pointer to a variable that receives the state, specified as a member of the AM_WST_STATE enumeration. The following values are possible.
Value | Description |
AM_WST_STATE_On | The WST service is on. |
AM_WST_STATE_Off | The WST service is 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