다음을 통해 공유


ISpObjectTokenEnumBuilder::AddTokens (Windows CE 5.0)

Send Feedback

This method adds tokens to the object token enumerator.

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 Values

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

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.

See Also

ISpObjectTokenEnumBuilder | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.