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