Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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) |