Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IEnumSpObjectTokens::Next (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3


IEnumSpObjectTokens::Next retrieves the next object token in the enumeration sequence.

If there are fewer than the requested number of elements left in the sequence, the remaining elements are retrieved.

   ULONG                                                             celt,
   [out, size_is(celt), length_is(*pceltFetched)] ISpObjectToken   **pelt,
   ULONG                                                            *pceltFetched


[in] The number of object tokens to retrieve.
[out] Address of an array that receives ISpObjectToken pointers. If an error value is returned, no entries in the array are valid.
[out] Address of a variable that receives the number of ISpObjectToken pointers actually copied to the array. This parameter cannot be NULL if celt is greater than one. If this parameter is NULL, celt must be one.

Return values

S_OKFunction completed successfully.
E_POINTEROne of the following errors was encountered:
pelt is bad or invalid,
pceltFetched is bad or invalid,
pceltFetched is bad and celt is greater than one.
E_INVALIDARGcelt is zero.
SPERR_UNINITIALIZEDAttribute parser interface is not initialized.
S_FALSEcelt is greater than the number of objects available.
FAILED (hr)Appropriate error message.
© 2015 Microsoft