Compartilhar via


ISpPhraseBuilder::AddReplacements (Windows CE 5.0)

Send Feedback

This method adds one or more text replacement elements to the phrase being built.

HRESULT AddReplacements(  ULONG cReplacements,  const SPPHRASEREPLACEMENT* pReplacements);

Parameters

  • cReplacements
    [in] Number of text replacement elements.
  • pReplacements
    [in] Pointer to an SPPHRASEREPLACEMENT structure that contains the text replacement elements.

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.
SPERR_UNINITIALIZED The object has not been properly 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.