Microsoft Speech API 5.4
ISpSREngineSite::GetMaxAlternates
ISpSREngineSite::GetMaxAlternates passes back the maximum number of alternates that should be generated for the specified CFG rule.
HRESULT GetMaxAlternates(
SPRULEHANDLE hRule,
ULONG *pulNumAlts
);
Parameters
- hRule
[in] The rule to check. - pulNumAlts
[out] The maximum number of alternates for the rule.
Return values
| Value |
| S_OK |
| E_POINTER |
| FAILED (hr) |