Export (0) Print
Expand All

ISpSREngineSite::GetMaxAlternates (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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

ValueDescription
S_OKFunction completed successfully.
E_POINTERpulNumAlts is invalid or bad.
FAILED (hr)Appropriate error message.
Show:
© 2014 Microsoft