|
| 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
ISpSREngine::GetPropertyString
ISpSREngine::GetPropertyString retrieves a string property value from the SR engine.
HRESULT GetPropertyString(
SPPROPSRC eSrc,
void *pvSrcObj,
const WCHAR *pName,
WCHAR **ppCoMemValue
);
Parameters
- eSrc
- [in] One of the types specified in the SPPROPSRC enumeration sequence. (This will currently always be SPPROPSRC_RECO_INST).
- pvSrcObj
- [in] Pointer to additional information. (Currently always NULL).
- pName
- [in] String containing the property name.
- ppCoMemValue
- [out] Pointer to a string that the SR engine should supply with the property value string. The string should be allocated with CoTaskMemAlloc; SAPI will delete the allocated memory after return from this function. If the engine does not support this property attribute, the parameter should be NULL.
Return values
Value |
Description |
S_OK |
Function completed successfully. Engine supports this property attribute and has returned a value for it. |
S_FALSE |
Function completed successfully but engine does not support this property. |
FAILED(hr) |
Appropriate error message. |
Remarks
Applications can use properties to control run-time results of the SR engine. The application can set and retrieve values for specific attributes on the engine. Some values are predefined by SAPI and others may be added by an engine. See SAPI 5.0 SR Properties White Paper for more details.
SAPI calls this method on an engine when the application calls ISpProperties::GetPropertyString using its recognition context object.
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