ISpThreadControl (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4


The ISpThreadControl interface inherits from the ISpNotifySink interface.

Methods in Vtable Order

ISpThreadControl MethodsDescription
StartThreadInitializes a thread and returns a window handle.
WaitForThreadDoneSpecifies the time interval to wait before ending thread processing.
TerminateThreadForces immediate termination of the thread.
ThreadHandleReturns the thread handle of the allocated thread.
ThreadIdReturns the thread ID of the allocated thread.
NotifyEventReturns the Win32 event handle that will be set when the Notify() method is called.
WindowHandleReturns the window handle associated with the thread.
ThreadCompleteEventReturns an event that the client can use to wait until the thread processing has completed.
ExitThreadEventReturns the event passed to the ISpThreadTask::ThreadProc method.