ISpTaskManager

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpTaskManager

When to Implement

This interface is used to implement a task management service provider to optimize thread usage.

Associated Class IDs

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

    CLSID_SpResourceManager

Methods in Vtable Order

ISpTaskManager Methods Description
SetThreadPoolInfo Sets the attributes for thread pool management.
GetThreadPoolInfo Retrieves the current thread pool management attributes.
QueueTask Adds a task to the queue for asynchronous task processing.
CreateReoccurringTask Creates a task entry that will be processed on a high priority thread.
CreateThreadControl Creates a thread control object.
TerminateTask Interrupts a specified task.
TerminateTaskGroup Terminates a group of tasks that match a specific group identifier.