Compartir a través de


ISpPhraseAlt::GetAltInfo (Windows CE 5.0)

Send Feedback

This method gets data elements associated with an alternate phrase.

HRESULT GetAltInfo(ISpPhrase** ppParent,ULONG* pulStartElementInParent,ULONG* pcElementsInParent,ULONG* pcElementsInAlt);

Parameters

  • ppParent
    [out] Address of a pointer to an object implementing ISpPhrase that represents the parent phrase.
  • pulStartElementInParent
    [out] Pointer to the starting element within the parent phrase to which the alternate applies.
  • pcElementsInParent
    [out] Pointer to the number of elements within the parent that the alternate replaces.
  • pcElementsInAlt
    [out] Pointer to the number of elements that the alternate contains.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_INVALIDARG At least one of the parameters is invalid or bad.
SPERR_NOT_FOUND The alternate is not associated with a valid parent phrase object.

Requirements

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

See Also

ISpPhraseAlt | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.