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::SetRuleWeight
ISpSREngine2::SetRuleWeight sets the weight of a rule in a CFG.
HRESULT SetRuleWeight(
SPRULEHANDLE hRule,
void *pvClientRuleContext,
float flWeight
);
Parameters
- hRule
The handle to the rule. - pvClientRuleContext
Pointer to the engine's data associated with the rule. - flWeight
The weight.
Return values
| Value |
| S_OK |
| E_NOINTERFACE |