Export (0) Print
Expand All

ISpSREngine::LoadSLM (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpSREngine::LoadSLM

ISpSREngine::LoadSLM instructs the engine to load a statistical language model (SLM) for dictation.

HRESULT LoadSLM(
   void          *pvEngineGrammar,
   LPCWSTR       *pszTopicName
);

Parameters

pvEngineGrammar
[in] The engine's grammar pointer, as returned from the OnCreateGrammar method.
pszTopicName
[in, string] Null-terminated string that specifies a topic name. The default SLM should be loaded if the value of pszTopicName is NULL.

Return values

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