Compartilhar via


ISpPhraseBuilder::AddProperties (Windows CE 5.0)

Send Feedback

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

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 Values

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

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

See Also

ISpPhraseBuilder | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.