Share via


ISpVoice::WaitUntilDone (Windows Embedded CE 6.0)

1/6/2010

This method blocks the caller until either the voice has completed speaking or the specified time interval has elapsed.

Syntax

HRESULT WaitUntilDone(
  ULONG msTimeout
);

Parameters

  • msTimeout
    [in] Timeout period, in milliseconds. "INFINITE" can be used to prevent this method from timing out.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

S_FALSE

Wait time interval was exceeded.

Remarks

This call can 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).

Requirements

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpVoice
SAPI Interfaces