Collapse the table of content
Expand the table of content

ISpeechAudio EventHandle Property (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Interface: ISpeechAudio

EventHandle Property

The EventHandle property returns a Win32 event handle that applications can use to wait for status changes in the I/O stream.


Set: (This property is read-only)
Get: Long = ISpeechAudio.EventHandle


The owning object.
Set: (This property is read-only)
Get: A Long variable returning the handle.


The handle may use one of the various Win32 wait functions, such as WaitForSingleObject or WaitForMultipleObjects.

For read streams, set the event when there is data available to read and reset it whenever there is no available data. For write streams, set the event when all of the data has been written to the device, and reset it at any time when there is still data available to be played.

© 2015 Microsoft