ISpSRAlternates::GetAlternates (Windows CE 5.0)

Send Feedback

This method gets a list of alternate words.

HRESULT GetAlternates(  SPPHRASEALTREQUEST* pAltRequest,  SPPHRASEALT** ppAlts,  ULONG* pcAlts);

Parameters

  • pAltRequest
    [in] Pointer to an SPPHRASEALTREQUEST structure containing a request for alternate words.
  • ppAlts
    [out] Address of a pointer to an SPPHRASEALT structure containing the alternate words.
  • pcAlts
    [out] Pointer to the number of alternate words specified by ppAlts.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
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

ISpSRAlternates | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.