IEnumSpObjectTokens::Item (Windows Embedded CE 6.0)
1/6/2010
This method locates a specific token in the enumeration.
Syntax
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 Value
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
Header | sapi.h, sapi.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |