Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IEnumSTATPROPSETSTG::Clone method

The Clone method creates an enumerator that contains the same enumeration state as the current STATPROPSETSTG structure enumerator. Using this method, a client can record a particular point in the enumeration sequence and then return to that point later. The new enumerator supports the same IEnumSTATPROPSETSTG interface.

Syntax


HRESULT Clone(
  [out] IEnumSTATPROPSETSTG **ppenum
);

Parameters

ppenum [out]

A pointer to the variable that receives the IEnumSTATPROPSETSTG interface pointer.

If the method does not succeed, the value of the ppenum parameter is undefined.

Return value

This method supports return values listed in the following table.

Return codeDescription
E_INVALIDARG

The ppenum parameter is NULL.

E_OUTOFMEMORY

Insufficient memory.

E_UNEXPECTED

An unexpected exception occurred.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Propidl.h

IDL

Propidl.idl

Library

Uuid.lib

DLL

Ole32.dll

IID

IID_IEnumSTATPROPSETSTG is defined as 0000013B-0000-0000-C000-000000000046

 

 

Show:
© 2017 Microsoft