CHMlib Logo 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
CrisisHelper - First Aid in Tough Times of World Economic Crisis


The Microsoft.com Speech website Microsoft Speech SDK

SAPI 5.1

ISpMMSysAudio::Write

ISpMMSysAudio::Write writes data to the multimedia audio device.

The audio device should not be directly manipulated when performing speech recognition (see ISpRecognizer).


HRESULT Write(
   const void  *pv,
   ULONG        cb,
   ULONG       *pcbWritten 
);

Parameters

pv
[in] Pointer to the buffer containing the data that is to be written to the audio device. A valid pointer must be provided for this parameter even when cb is zero.
cb
[in] The number of bytes of data to attempt to write to the audio device. This value may be zero.
pcbWritten
[out] Pointer to a ULONG variable where this method writes the actual number of bytes written to the audio device. If set to NULL, no byte value is passed back.

Return values

Value Description
S_OK Function completed successfully.
SPERR_AUDIO_STOPPED Multimedia device has been stopped.
E_OUTOFMEMORY Exceeded available memory.
E_POINTER At least one of pcbWritten or pv are invalid or bad.
STG_E_ACCESSDENIED Multimedia device is write-only and no bytes will be written. Error will occur when writing to an input device.
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
Partner sites: Logo Design, Simple Anti-Crisis Accounting Software, Voice Search for Web