다음을 통해 공유


ISpResourceManager (Windows CE 5.0)

Send Feedback

This interface provides access to resources shared by different speech components in the same process. An instance of the SpResourceManager class (CLSID_SpResourceManager) is a COM singleton. That is, the same resource manager is shared by all clients in a single process that create the object. This situation allows for a common point of control for sharing other COM objects.

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

When to Implement

Applications and engines do not need to implement this interface.

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

  • CLSID_SpResourceManager

Methods

The following table lists methods for the ISpResourceManager interface.

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

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: sapi.h, sapi.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.