
ISpSREngine::OnDeleteRecoContext
ISpSREngine::OnDeleteRecoContext notifies the engine that a recognition context is being destroyed. By the time this call is made, all grammars associated with this context will have been deleted.
HRESULT OnDeleteRecoContext(
void *pvEngineContext
);
Parameters
- pvEngineContext
- [in] Pointer to the engine's data for this context, as returned from a previous call to OnCreateRecoContext.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
FAILED(hr) | Appropriate error message. |