ISpSREngine2::SetRuleWeight (SAPI 5.3)
Speech API 5.3
ISpSREngine2::SetRuleWeight sets the weight of a rule in a CFG.
HRESULT SetRuleWeight( SPRULEHANDLE hRule, void *pvClientRuleContext, float flWeight );
- The handle to the rule.
- Pointer to the engine's data associated with the rule.
- The weight.
|S_OK||Function completed successfully.|
|E_NOINTERFACE||Interface not supported by the engine.|