The Clone method of the IEnumRemoteProcess interface creates a copy of the enumerator, including the enumerator’s current position in its list of elements.
HRESULT Clone(IJavaEnumRemoteProcess **ppEnum)
[out] ppEnum | Returns a pointer to the copied enumerator. |
S_OK Success.
E_OUTOFMEMORY Insufficient memory.