Share via


_ISpPrivateEngineCall

This interface enables private calls to a speech recognition (SR) engine. It inherits from ISpRecoContext.

Applications do not use this interface directly used by applications. To use this interface indirectly, an application should call IUnknown::QueryInterface for the speech recognition context (ISpRecoContext). This call obtains the engine extension object that is implemented by the appropriate SR engine. SAPI creates the engine extension object identified in the ExtensionCLSID attribute of the engine object token.

The extension object should call IUnknown::QueryInterface for the private engine call object (_ISpPrivateEngineCall). It can then call the _ISpPrivateEngineCall::CallEngine method to make the private call to the engine. The data passed in this call is then forwarded to the ISpSREngine::PrivateCall method to be handled by the engine.

When to Implement

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

  • CLSID_SpSharedRecoContext

Methods

The following table lists the methods for the _ISpPrivateEngineCall interface.

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

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.

See Also

SAPI Interfaces

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.