ISpThreadControl::ThreadHandle (SAPI 5.4)

Microsoft Speech API 5.4

ISpThreadControl::ThreadHandle

ISpThreadControl::ThreadHandle returns the thread handle of the allocated thread. This handle should not be used to wait for the completion of the thread procedure. Use ISpThreadControl::ThreadCompleteEvent, or ISpThreadControl::WaitForThreadDone.

  
    HANDLE ThreadHandle ( void );

Parameters

None.

Return values

Returns the thread handle, or NULL if ISpThreadControl::StartThread has not been called for this thread control object.