ISpThreadControl::ThreadHandle (Windows CE 5.0)

Send Feedback

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.