Share via


ISpThreadControl::TerminateThread

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

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.