Export (0) Print
Expand All

ISpPrivateEngineCallEx::CallEngineImmediate (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpPrivateEngineCallEx::CallEngineImmediate

ISpPrivateEngineCallEx::CallEngineImmediate works the same as CallEngineSynchronize, except that it is passed through the PrivateCallImmediate method and, hence, is faster.

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


HRESULT CallEngineImmediate(
   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 pInFrame 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

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGOne or more parameters are invalid.
E_POINTERInvalid pointer.
FAILED(hr)Appropriate error message.
Show:
© 2014 Microsoft