Share via


ISpPrivateEngineCall::CallEngine (SAPI 5.4)

Microsoft Speech API 5.4

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
S_OK
E_FAILED
FAILED (hr)