Share via


ISpThreadControl::TerminateThread (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

HRESULT TerminateThread(void);

Parameters

None.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

Requirements

Header sapiddk.h, sapiddk.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpThreadControl
SAPI Interfaces