ISpSREngine2::OnUnloadCFG (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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

ValueDescription
S_OKFunction completed successfully.
E_NOINTERFACEInterface not supported by the engine.
Show: