Share via


ISpCFGInterpreterSite::AddTextReplacement (SAPI 5.3)

Microsoft Speech API 5.3

ISpCFGInterpreterSite::AddTextReplacement

ISpCFGInterpreterSite::AddTextReplacement adds one text replacement to the phrase. The object must have been initialized by calling SetPhrase prior to calling this method.

  
    HRESULT AddTextReplacement(SPPHRASEREPLACEMENT   *pReplace
);

Parameters

Return values

Value
S_OK
E_INVALIDARG
SPERR_UNINITIALIZED
FAILED(hr)