ISpThreadControl::ThreadHandle

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

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.