共用方式為


IEnumSTATSTG::Clone

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method creates a copy of the current state of enumeration.

Syntax

HRESULT Clone( 
  Ienum<ELT_T>** ppenum
);

Parameters

  • ppenum
    [out] Address of IEnum<ELT_T>* pointer variable that receives the interface pointer to the enumeration object. If the method is unsuccessful, the value of this output variable is undefined.

Return Value

This method supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

Header objidl.h, objidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later