ISpSREngineSite2::GetRuleTransition (SAPI 5.3)

Microsoft Speech API 5.3

ISpSREngineSite2::GetRuleTransition

ISpSREngineSite2::GetRuleTransition is used by the engine to query SAPI for information about the rules in the grammar.

  
    HRESULT GetRuleTransition(
   ULONG                 ulGrammarID,
   ULONG                 RuleIndex,
   SPTRANSITIONENTRY    *pTrans
);

Parameters

  • ulGrammarID
    The grammar ID.
  • RuleIndex
    The rule index (a number).
  • pTrans
    The rule transition representing that rule, returned to the engine.

Return values

Value
S_OK
E_INVALIDARG