Freigeben über


ISpCFGInterpreterSite::AddTextReplacement (Windows CE 5.0)

Send Feedback

This method adds one text replacement to the phrase object. The object must have been initialized by calling ISpPhrase::GetPhrase prior to calling this method.

HRESULT AddTextReplacement(  SPPHRASEREPLACEMENT* pReplace);

Parameters

  • pReplace
    [in] Pointer to an SPPHRASEREPLACEMENT structure that contains the replacement text.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_INVALIDARG pReplace is bad or invalid.
SPERR_UNINITIALIZED The object is uninitialized.
FAILED(hr) Appropriate error message.

Requirements

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

See Also

ISpCFGInterpreterSite | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.