Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
| Value |
| S_OK |
| FAILED(hr) |