ISpSREngine::OnCreateRecoContext (SAPI 5.3)
ISpSREngine::OnCreateRecoContext notifies the engine that a recognition context is being created.
HRESULT OnCreateRecoContext( SPRECOCONTEXTHANDLE hSAPIRecoContext, void **ppvEngineContext );
- [in] Unique handle to the recognition context.
- [out] The engine should set the contents of this to a pointer to any engine-specific information it wishes to associate with this context.
|NOERROR||No error is possible with this function.|
Each application connected with the SR engine can have one or more recognition contexts. The engine can associate a pointer with each recognition context that is then passed back to the engine in other methods using this context.