ISpSREngine::UnloadSLM

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpSREngine::UnloadSLM

ISpSREngine::UnloadSLM instructs the engine to unload an SLM.

HRESULT UnloadSLM(
   void   *pvEngineGrammar
);

Parameters

pvEngineGrammar
[in] The engine's grammar pointer, as returned from the OnCreateGrammar method.

Return values

Value Description
S_OK Function completed successfully.
FAILED(hr) Appropriate error message.