|
| 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
ISpObjectTokenCategory::GetDefaultTokenId
ISpObjectTokenCategory::GetDefaultTokenId retrieves the default token ID for the category.
HRESULT GetDefaultTokenId(
const WCHAR **ppszCoMemTokenId
);
Parameters
- ppszCoMemTokenId
- [in] The null-terminated string name of the token ID used as the default. Must be released with CoMemTaskFree () when no longer needed.
Return values
Value |
Description |
S_OK |
Function completed successfully. |
SPERR_UNINITIALIZED |
Data key interface is not initialized. |
E_POINTER |
ppszCoMemTokenId is invalid or bad. |
FAILED(hr) |
Appropriate error message. |
Remarks
There is a hierarchy for returning a default token ID value. A default token has an attribute marked as DefaultTokenID. When a token is not explicitly marked as such, SAPI attempts to return the default from the user profile. If none exists there, SAPI returns a specially named token called DefaultdefaultTokenID for the category ID. Default tokens are discussed in Object Tokens and Registry Settings White Paper.
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