Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpResourceManager

The ISpResourceManager interface provides access to the shared resources between different speech components in the same process. The object CLSID_SpResourecManager will be shared by all clients in a single process that uses CoCreateInstance to create the object with CLSID_SpResourceManager. This allows for a common point of control for sharing other COM objects.

Applications and engines do not need to use or implement this interface.

This interface inherits from IServiceProvider. The IServiceProvider interface supports a single method, QueryService, which provides access to objects in the resource manager.

Associated Class IDs

The following class IDs (CLSID) may be used with this interface.

  • CLSID_SpResourceManager

See Application Object Classes for a complete CLSID listing for all interfaces.

Methods in Vtable Order

ISpResourceManager Methods Description
SetObject Adds a service object to the current service list.
GetObject Retrieves a service object from the current service list, or creates one if it does not exist.