|
| 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
ISpGrammarCompiler::CompileStream
ISpGrammarCompiler::CompileStream loads the XML grammar and produces the binary grammar format.
Compiles the SAPI 5 Speech Text Grammar pointed to by pSource stream and writes the output to the pDest stream. It can optionally generate C/C++ header information from the <DEFINE> <ID> tags.
HRESULT CompileStream(
IStream *pSource,
IStream *pDest,
IStream *pHeader,
IUnknown *pReserved,
ISpErrorLog *pErrorLog,
DWORD dwFlags
);
Parameters
- pSource
- Pointer to the source of the XML grammar text.
- pDest
- Pointer to the destination stream for the binary grammar.
- pHeader
- Pointer to the stream to write the C/C++ header information (from the
<DEFINE> tags) to (e.g., #define myterm 3).
- pReserved
- Reserved. Do not use.
- pErrorLog
- Pointer to the error log receiving the messages.
- dwFlags
- [in] Not currently used. Must be zero.
Return values
Value |
Description |
S_OK |
Function completed successfully. |
E_INVALIDARG |
One of the parameters is bad or invalid. |
FAILED (hr) |
Appropriate error message. |
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