Export (0) Print
Expand All

ISpSREngine::OnDeleteGrammar (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpSREngine::OnDeleteGrammar

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
);

Parameters

pvEngineGrammar
[in] The engine's grammar pointer for this grammar, as returned from a previous call to the OnCreateGrammar method.

Return values

ValueDescription
S_OKFunction completed successfully.
FAILED(hr)Appropriate error message.
Show:
© 2014 Microsoft