Partager via


ISpSREngine::OnDeleteGrammar (SAPI 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

Value
S_OK
FAILED(hr)