Share via


ISpSREngine2::OnUnloadCFG (SAPI 5.3)

Microsoft Speech API 5.3

ISpSREngine2::OnUnloadCFG

ISpSREngine2::OnUnloadCFG is the reverse of the OnLoadCFG function and is called by SAPI when the grammar is unloaded.

  
    HRESULT OnUnloadCFG(
   void     *pvEngineGrammar,
   ULONG     ulGrammarID
);

Parameters

  • pvEngineGrammar
    Pointer to data that the engine has associated with the grammar.
  • ulGrammarID
    The grammar ID.

Return values

Value
S_OK
E_NOINTERFACE