Export (0) Print
Expand All

ISpSREngineSite2::GetRuleTransition (SAPI 5.3)

Speech API 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

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGInvalid parameter.
Show:
© 2014 Microsoft