Share via


IEnumSpObjectTokens::Clone (Windows CE 5.0)

Send Feedback

This method creates a new enumerator object with the same items and of the same interface type as the one being cloned. It retrieves a new enumerator object with the same items but an independent index. The items in the clone are not guaranteed to be in the same order as in the original enumerator. Using Clone, it is possible to record a particular point in the enumeration sequence and then return to that point at a later time.

HRESULT Clone(  IEnumSpObjectTokens** ppEnum);

Parameters

  • ppEnum
    [out] Address of a pointer to the IEnumSpObjectTokens interface.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.