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
ISpPhraseBuilder::AddReplacements
ISpPhraseBuilder::AddReplacements adds one or more text replacements to the phrase.
HRESULT AddReplacements(
ULONG cReplacements,
const SPPHRASEREPLACEMENT *pReplacements
);
Parameters
- cReplacements
The number of replacement phrase elements. - pReplacements
Address of the array of SPPHRASEREPLACEMENT structures containing the phrase element replacement information.
Return values
| Value |
| S_OK |
| E_INVALIDARG |
| SPERR_UNINITIALIZED |
| FAILED(hr) |