다음을 통해 공유


ISpSRAlternates::GetAlternates (Windows Embedded CE 6.0)

1/6/2010

This method gets a list of alternate words.

Syntax

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 Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

FAILED(hr)

Appropriate error message.

Requirements

Header sapiddk.h, sapiddk.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpSRAlternates
SAPI Interfaces