Share via


ISpPhraseBuilder::AddProperties (Windows Embedded CE 6.0)

1/6/2010

This method adds property entries to elements for the phrase being built.

Syntax

HRESULT AddProperties(
  const SPPHRASEPROPERTYHANDLE hParent,
  const SPPHRASEPROPERTY* pProperty,
  SPPHRASEPROPERTYHANDLE* phNewProperty
);

Parameters

  • hParent
    [in] Handle to the parent phrase element.
  • pProperty
    [in] Pointer to an SPPHRASEPROPERTY structure that contains the property information.
  • phNewProperty
    [out] Pointer to a handle to the SPPHRASEPROPERTY structure that contains the new property information.

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.

E_POINTER

Invalid pointer.

SPERR_UNINITIALIZED

The object has not been properly initialized.

SPERR_ALREADY_INITIALIZED

The object has already been 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