Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.3
ISpRecoContext::GetContextState
ISpRecoContext::GetContextState retrieves the state of the recognition context.
HRESULT GetContextState(SPCONTEXTSTATE *peContextState
);
Parameters
- peContextState
[out] Address of the SPCONTEXTSTATE enumeration that receives the context state information.
Return values
Value |
S_OK |
E_POINTER |
FAILED(hr) |
Remarks
The default recognition context state for an ISpRecoContext object is SPCS_ENABLED.
Applications can use ISpRecoContext::SetContextState to set the context state.