Share via


ISpSREngineSite::GetMaxAlternates (SAPI 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

Value
S_OK
E_POINTER
FAILED (hr)