ISpPrivateEngineCall::CallEngineEx

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpPrivateEngineCall::CallEngineEx

ISpPrivateEngineCall::CallEngineEx returns the non-fixed size data block response information associated with the SR engine.

Applications implementing this method must call CoTaskMemFree() to free memory associated with the returned response.

HRESULT CallEngineEx(
   const void  *pInFrame,
   ULONG        ulInFrameSize,
   void       **ppCoMemOutFrame,
   ULONG       *pulOutFrameSize
 );

Parameters

pInFrame
[in] Address of the recognition engine data.
ulInFrameSize
[in] Size, in bytes, of the pInCallFrame structure.
ppCoMemOutFrame
[out] Address of a pointer to the data block information associated with the SR engine.
pulOutFrameSize
[out] Size, in bytes, of the ppCoMemOutFrame structure.

Return values

Value Description
S_OK Function completed successfully.
E_INVALIDARG One or more parameters are invalid.
E_POINTER Invalid pointer.
FAILED(hr) Appropriate error message.