Export (0) Print
Expand All

ISpSREngine2::SetRulePriority (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpSREngine2::SetRulePriority

ISpSREngine2::SetRulePriority sets the priority of a particular rule. Rules with higher priority have precedence.


HRESULT SetRulePriority(
   SPRULEHANDLE    hRule,
   void           *pvClientRuleContext,
   int             nRulePriority
);

Parameters

hRule
A handle to the rule.
pvClientRuleContext
Pointer to the engine's data associated with the rule.
nRulePriority
The priority.

Return values

ValueDescription
S_OKFunction completed successfully.
E_NOINTERFACEInterface not supported by the engine.
Show:
© 2014 Microsoft