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
- pReplace
[in] Address of the SPPHRASEREPLACEMENT that contains the replacement text.
Return values
Value |
S_OK |
E_INVALIDARG |
SPERR_UNINITIALIZED |
FAILED(hr) |