Share via


ISpTaskManager

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

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.

See Also

SAPI Interfaces

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.