1/6/2010
This method adds tokens to the object token enumerator.
Syntax
HRESULT AddTokens(
ULONG cTokens,
ISpObjectToken** pToken
);
Parameters
- cTokens
[in] Number of object tokens to add.
- pToken
[in] Address of a pointer to an object implementing ISpObjectToken that contains information about the tokens to add.
Return Value
The following table shows the possible return values.
| Value | Description |
|---|---|
S_OK |
Function completed successfully. |
E_INVALIDARG |
One or more arguments 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. |
Requirements
| Header | sapiddk.h, sapiddk.idl |
| Library | sapilib.lib |
| Windows Embedded CE | Windows CE .NET 4.1 and later |