 |
| Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab. |
You are reading help file online using chmlib.com
|
Microsoft Speech SDK
SAPI 5.1
ISpRecoContext::SetContextState
ISpRecoContext::SetContextState sets the state of the recognition context.
HRESULT SetContextState(
SPCONTEXTSTATE eContextState
);
Parameters
- eContextState
- [in] The SPCONTEXTSTATE enumeration sequence specifying the recognition context state.
Return values
| Value |
Description |
| S_OK |
Function completed successfully. |
| E_INVALIDARG |
eContextState is not one of the correct types. |
| FAILED(hr) |
Appropriate error message. |
Remarks
The default recognition context state for an ISpRecoContext object is SPCS_ENABLED.
Applications can use ISpRecoContext::SetContextState to toggle sets of grammars. For example, a multi-document interface application that uses a different ISpRecoContext object for each document could toggle the context states as each document gained and lost the focus.
Applications can use ISpRecoContext::GetContextState to query the context state.
You are reading help file online using chmlib.com
|
If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com