|
| 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
ISpTranscript::AppendTranscript
ISpTranscript::AppendTranscript adds the current text to the transcript.
HRESULT AppendTranscript(
const WCHAR *pszTranscript
);
Parameters
- pszTranscript
- [in, string] The text of the transcript. If pszTranscript is NULL, the current transcript is deleted. Otherwise, the text is appended to the current transcript.
Return values
Value |
Description |
S_OK |
Function completed successfully. |
E_INVALIDARG |
pszTranscript is bad or invalid. |
E_OUTOFMEMORY |
Exceeded available memory. |
FAILED (hr) |
Appropriate error message. |
Example
The following code snippet illustrates the use of ISpTranscript::AppendTranscript.
HRESULT hr = S_OK;
// Bind a stream to an existing wavefile
hr = SPBindToFile( FILENAME, SPFM_CREATE_ALWAYS, &cpStream);
// Check hr
hr = cpStream.QueryInterface(&cpTranscript);
// Check hr
hr = cpTranscript->AppendTranscript(L"this is a test");
// Check hr
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