Share via


ISpTaskManager

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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