次の方法で共有


ISpVoice::SpeakCompleteEvent (SAPI 5.3)

Microsoft Speech API 5.3

ISpVoice::SpeakCompleteEvent

ISpVoice::SpeakCompleteEvent returns an event handle that will be signaled when the voice has completed speaking all pending requests. This is similar to the functionality provided by ISpVoice::WaitUntilDone, but allows the caller to wait on the event handle. 

  
    [local] HANDLE  SpeakCompleteEvent  ( void );

Parameters

None.

Return values

Value
Event Handle

Remarks:

The caller should not call CloseHandle(), nor should the caller ever use the handle after releasing the COM reference to this voice.