Share via


ISpThreadControl::ThreadHandle (Windows Embedded CE 6.0)

1/6/2010

This method returns a handle to the allocated thread. This handle should not be used to wait for the completion of the thread procedure. The implementation should use the ISpThreadControl::ThreadCompleteEvent or ISpThreadControl::WaitForThreadDone method.

Syntax

HANDLE ThreadHandle(void);

Parameters

None.

Return Value

The thread handle, or NULL if ISpThreadControl::StartThread has not been called for the thread control object.

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