IEnumEventObject::Clone method (eventsys.h)
Creates an enumerator that contains the same enumeration state as the current one.
Syntax
HRESULT Clone(
[out] IEnumEventObject **ppInterface
);
Parameters
[out] ppInterface
Address of a pointer to the IEnumEventObject interface on the enumeration object. This parameter cannot be NULL. If the method is unsuccessful, the value of this output variable is undefined.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Remarks
When the pointer to the IEnumEventObject is returned, it is positioned at the first object in the collection not at the place of the enumeration object being cloned.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | eventsys.h |