ISpThreadControl::TerminateThread (SAPI 5.4)
Microsoft Speech API 5.4
ISpThreadControl::TerminateThread
ISpThreadControl::TerminateThread forces immediate termination of the thread.
HRESULT TerminateThread ( void );
Parameters
None.
Return values
Value |
S_OK |
Remarks
This function should be used with caution, as unintended results can occur. It should only be used to force a thread to stop when all other attempts to stop the thread have been unsuccessful.