Microsoft Speech API 5.4
ISpPhraseBuilder::AddElements
ISpPhraseBuilder::AddElements adds a copy of the given element to the end of this object's element list.
HRESULT AddElements(
ULONG cElements,
const SPPHRASEELEMENT *pElement
);
Parameters
- cElements
Specifies the number of phrase elements to add. - pElement
Address of the array of SPPHRASEELEMENT data structures containing the phrase elements to add.
Return values
| Value |
| S_OK |
| E_INVALIDARG |
| SPERR_UNINITIALIZED |
| FAILED(hr) |