Share via


ISpPhraseBuilder::AddElements (Windows Embedded CE 6.0)

1/6/2010

This method adds the specified phrase elements to the end of the element list maintained by the phrase builder.

Syntax

HRESULT AddElements(
  ULONG cElements,
  const SPPHRASEELEMENT* pElement
);

Parameters

  • cElements
    [in] Specifies the number of phrase elements to add.
  • pElement
    [in] Pointer to an SPPHRASEELEMENT structure containing the phrase elements to add.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_INVALIDARG

One or more arguments are invalid.

SPERR_UNINITIALIZED

The object has not been properly initialized.

FAILED(hr)

Appropriate error message.

Requirements

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

See Also

Reference

ISpPhraseBuilder
SAPI Interfaces