次の方法で共有


ISpTaskManager (Windows Embedded CE 6.0)

1/6/2010

This interface implements a task management service provider to optimize thread use.

When to Implement

The following class IDs (CLSIDs) can be used with this interface. A complete CLSID listing for all interfaces is in the SAPI Class IDs section.

  • CLSID_SpResourceManager

Methods

The following table lists methods for the ISpTaskManager interface.

Method Description

CreateReoccurringTask

Creates a task entry that will be processed on a high priority thread.

CreateThreadControl

Creates a thread control object.

GetThreadPoolInfo

Sets the attributes for thread pool management.

QueueTask

Adds a task to the queue for asynchronous task processing.

SetThreadPoolInfo

Sets the attributes for thread pool management.

TerminateTask

Interrupts a specified task.

TerminateTaskGroup

Terminates a group of tasks that match a specific group identifier.

Requirements

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

See Also

Reference

SAPI Interfaces