Share via


ISpThreadControl::ThreadHandle

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.

HANDLE ThreadHandle(void);

Parameters

None.

Return Values

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

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.