ISpCFGInterpreterSite::AddTextReplacement (SAPI 5.4)

Microsoft Speech API 5.4

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)