Microsoft Speech Platform
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.
Syntax
Set: | (This property is read-only) |
Get: | Long = ISpeechAudio.EventHandle |
Parts
- ISpeechAudio
- The owning object.
- Long
-
Set: (This property is read-only)
Get: A Long variable returning the handle.
Remarks
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.