Microsoft Speech SDK
SAPI 5.1
ISpThreadControl::TerminateThread
ISpThreadControl::TerminateThread forces immediate termination of the thread.
HRESULT TerminateThread ( void );
Parameters
None.
Return values
| Value | Description |
|---|---|
| S_OK | Function completed successfully. |
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.