ISpPrivateEngineCall

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

_ISpPrivateEngineCall

This interface is obtained by calling the QueryInterface method of the ISpRecoContext interface. However, applications should not directly use _ISpPrivateEngineCall interface.

Applications should call the QueryInterface method of the recognition context for a particular engine extension interface that is implemented by their engine. SAPI will create the engine extension class identified in ExtensionCLSID attribute of the engine object token. This interface should call the QueryInterface method for _ISpPrivateEngineCall, where it can then call CallEngine to make a private call to the engine. The data passed into the CallEngine method is passed to the engine's PrivateCall method.

When to Implement

Implemented by SAPI and inherits from ISpRecoContext.

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_SpSharedRecoContext

Methods in Vtable Order

_ISpPrivateEngineCall Methods Description
CallEngine Allows an engine-specific call.
CallEngineEx Returns the non-fixed size data block response information associated with the SR engine.