speak完成如何判断?如何使用SpVoice.SpeakCompleteEvent,这个问题困扰了我两天,最后看到msdn上的例子才知道要使用WaitForSingleObject函数处理它返回的时间句柄,之前的想speak或者偏移量的是多么荒谬啊。
peech API 5.3
Object: SpVoice
Type: Hidden
SpeakCompleteEvent Method
The SpeakCompleteEvent method gets an event handle from the voice that will be signaled when the voice finishes speaking.
The SpeakCompleteEvent method is similar to the WaitUntilDone method, but supports more sophisticated ways of waiting for the voice to finish speaking.
The WaitUntilDone method explicitly blocks program execution until the voice finishes. The SpeakCompleteEvent method does not block execution, but returns an event handle that can be used wit