IEnumExtraSearch::Clone method (shobjidl_core.h)
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll (version 5.0 or later) |