IEnumSpObjectTokens::Item (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

IEnumSpObjectTokens::Item

IEnumSpObjectTokens::Item locates a specific token in the enumeration.

HRESULT Item(
   ULONG             Index,
   ISpObjectToken  **ppToken
);

Parameters

Index
[in] Value indicating which token in the enumeration sequence to locate.
ppToken
[out] Address of an ISpObjectToken interface pointer.

Return values

Value Description
S_OK Function completed successfully.
SPERR_NO_MORE_ITEMS Index is greater than the amount of items available.
E_POINTER ppToken is bad or invalid.
SPERR_UNINITIALIZED Attribute parser interface is not initialized.
FAILED (hr) Appropriate error message.