ISpPrivateEngineCall::CallEngine

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpPrivateEngineCall::CallEngine

ISpPrivateEngineCall::CallEngine allows an engine-specific call.

It is called from the engine extension object to the engine object. Data passed into this call is given to the main SR engine through the ISpSREngine::PrivateCall method.

HRESULT CallEngine(
   VOID   *pCallFrame,
   ULONG   ulCallFrameSize
);

Parameters

pCallFrame
[in, out] The engine-specific structured block of memory parameters. This block will be marshaled in the shared engine case and must not contain pointers to other memory allocations. It must be fully self–contained and relative only to itself.
ulCallFrameSize
[in] Size, in bytes, of the pCallFrame structure.

Return values

Value Description
S_OK Function completed successfully.
E_FAILED No engine could be found.
FAILED (hr) Appropriate error message.