Microsoft Speech SDK
SAPI 5.1
ISpObjectTokenEnumBuilder::AddTokens
ISpObjectTokenEnumBuilder::AddTokens adds tokens to the object token enumerator.
HRESULT AddTokens(
ULONG cTokens,
ISpObjectToken **pToken
);
Parameters
- cTokens
- The number of object tokens being added to the sequence.
- pToken
- Address of a pointer to an ISpObjectToken object containing the information associated with the tokens being added.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | One or more parameters are invalid. |
E_POINTER | Invalid pointer. |
E_OUTOFMEMORY | Exceeded available memory. |
SPERR_UNINITIALIZED | The object has not been properly initialized. |
FAILED(hr) | Appropriate error message. |