次の方法で共有


ISpThreadControl (Windows Embedded CE 6.0)

1/6/2010

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