Microsoft Speech SDK
SAPI 5.1
ISpThreadControl::ThreadId
ISpThreadControl::ThreadId returns the thread ID of the allocated thread.
Returns the Win32 thread ID of the thread associated with this thread control object. If StartThread has not been called, this returns zero.
DWORD ThreadId ( void );
Parameters
None.Return values
The ID of the thread.