IEnumSpObjectTokens::Item (Windows CE 5.0)
This method locates a specific token in the enumeration.
HRESULT Item( ULONG Index, ISpObjectToken** ppToken);
Parameters
- Index
[in] Value indicating the token to locate in the enumeration sequence. - ppToken
[out] Address of a pointer to the ISpObjectToken interface for the located token.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
SPERR_NO_MORE_ITEMS | Index is more 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. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: sapi.h, sapi.idl.
Link Library: Sapilib.lib.
See Also
IEnumSpObjectTokens | SAPI Interfaces
Send Feedback on this topic to the authors