ISpSREngineSite::GetMaxAlternates (Windows CE 5.0)

Send Feedback

This method gets the maximum number of alternates that should be generated for the specified CFG rule.

HRESULT GetMaxAlternates(  SPRULEHANDLE hRule,  ULONG* pulNumAlts);

Parameters

  • hRule
    [in] Handle to the rule to check.
  • pulNumAlts
    [out] Pointer to the maximum number of alternates for the rule.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_POINTER pulNumAlts is invalid or bad.
FAILED(hr) Appropriate error message.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.

See Also

ISpSREngineSite | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.