ISpThreadControl (Windows CE 5.0)
This interface controls a thread. It inherits from the ISpNotifySink interface.
Methods
The following table lists methods of the ISpThreadControl interface.
Method | Description |
---|---|
ExitThreadEvent | Returns the event passed to the ISpThreadTask::ThreadProc method. |
NotifyEvent | Returns the Win32 event handle that will be set when the Notify() method is called. |
StartThread | Initializes a thread and returns a window handle. |
TerminateThread | Forces immediate termination of the thread. |
ThreadCompleteEvent | Returns an event that the client can use to wait until the thread processing has completed. |
ThreadHandle | Returns the thread handle of the allocated thread. |
ThreadId | Returns the thread identifier of the allocated thread. |
WaitForThreadDone | Specifies the time interval to wait before ending thread processing. |
WindowHandle | Returns the window handle associated with the thread. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.
See Also
Send Feedback on this topic to the authors