Export (0) Print
Expand All

ISpVoice::WaitUntilDone (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpVoice::WaitUntilDone

ISpVoice::WaitUntilDone blocks the caller until either the voice has completed speaking or the specified time interval has elapsed.

HRESULT WaitUntilDone(
   ULONG   msTimeout
);

Parameters

msTimeout
[in] Timeout period in milliseconds. INFINITE may be used to prevent this method from timing out.

Return values

ValueDescription
S_OKFunction completed successfully.
S_FALSEWait time interval was exceeded.

Remarks

This call may be used after a single asynchronous Speak (or SpeakStream) call, or after several calls have been queued. In either case it will return only after all pending calls have been completed (or after the specified time interval has elapsed).

Show:
© 2015 Microsoft