ISpSREngine::OnDeleteGrammar (SAPI 5.3)
Speech API 5.3
ISpSREngine::OnDeleteGrammar notifies the engine that a recognition grammar is deleted. By the time this method is called, any rules or a loaded SLM in this grammar will already have been deleted.
HRESULT OnDeleteGrammar( void *pvEngineGrammar );
- [in] The engine's grammar pointer for this grammar, as returned from a previous call to the OnCreateGrammar method.
|S_OK||Function completed successfully.|
|FAILED(hr)||Appropriate error message.|