ISpTaskManager (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4


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.


Methods in Vtable Order

ISpTaskManager MethodsDescription
SetThreadPoolInfoSets the attributes for thread pool management.
GetThreadPoolInfoRetrieves the current thread pool management attributes.
QueueTaskAdds a task to the queue for asynchronous task processing.
CreateReoccurringTaskCreates a task entry that will be processed on a high priority thread.
CreateThreadControlCreates a thread control object.
TerminateTaskInterrupts a specified task.
TerminateTaskGroupTerminates a group of tasks that match a specific group identifier.