ISpeechBaseStream Write Method (SAPI 5.3)
The Write method writes data to a stream object.
The Write method writes text or audio data from a Variant variable into the stream, starting at the Seek pointer and writing until all data has been copied. When the method has completed, it returns the number of bytes written, and resets the Seek pointer one byte past the last byte written.
ISpeechBaseStream.Write( Buffer As Variant ) As Long
- A Variant variable containing the data to be written.
A Long variable indicating the number of bytes written.
Use of the Write method is demonstrated in a code example at the end of the ISpeechBaseStream section.