IEnumExtraSearch::Clone method

Used to request a duplicate of the enumerator object to preserve its current state.

Syntax


HRESULT Clone(
   IEnumExtraSearch **ppEnum
);

Parameters

ppEnum

Type: IEnumExtraSearch**

A pointer to the IEnumExtraSearch interface of a new enumerator object.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM-defined error code otherwise.

Remarks

The new enumerator should be created with the same state as the current one. Use the IEnumExtraSearch::Skip method to advance the enumeration index to the appropriate value before returning.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.0 or later)

 

 

Show: