Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method forces immediate termination of the thread. It should only be used to force a thread to stop when all other attempts to stop this thread have been unsuccessful. Use this method with caution, as unintended results can occur.
HRESULT TerminateThread(void);
Parameters
None.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.
See Also
ISpThreadControl | SAPI Interfaces
Send Feedback on this topic to the authors