Share via


ISpThreadControl

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

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

See Also

Reference

SAPI Interfaces