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
ISpSREngine2::SetSLMWeight
ISpSREngine2::SetSLMWeight sets the weight of the dictation grammar versus that of CFGs.
HRESULT SetSLMWeight(
void *pvEngineGrammar,
float flWeight
);
Parameters
- pvEngineGrammar
Pointer to the dictation grammar. - flWeight
The weight.
Return values
| Value |
| S_OK |
| E_NOINTERFACE |