Partager via


ISpSREngine2::SetSLMWeight (SAPI 5.3)

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