다음을 통해 공유


ISpTaskManager (Windows CE 5.0)

Send Feedback

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.