ISpPrivateEngineCallEx::CallEngineSynchronize (SAPI 5.3)
ISpPrivateEngineCallEx::CallEngineSynchronize is used by the engine's extension object to call the main engine object. It has the same functionality as CallEngineEx and 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 CallEngineSynchronize( const void *pInFrame, ULONG ulInFrameSize, void **ppCoMemOutFrame, ULONG *pulOutFrameSize );
- [in] Address of the recognition engine data.
- [in] Size, in bytes, of the pInFrame structure.
- [out] Address of a pointer to the data block information associated with the SR engine.
- [out] Size, in bytes, of the ppCoMemOutFrame structure.
|S_OK||Function completed successfully.|
|E_INVALIDARG||One or more parameters are invalid.|
|FAILED(hr)||Appropriate error message.|