IEnumDiskQuotaUsers::Clone

Creates another enumerator that contains the same enumeration state as the current one. Using this method, a client can record a particular point in the enumeration sequence, and then return to that point at a later time. The new enumerator supports the same interface as the original one.

HRESULT Clone(
  IEnumDiskQuotaUsers **ppEnum
);
 

Parameters

ppEnum
Pointer to the variable to receive the IEnumDiskQuotaUsers interface pointer. If the method is unsuccessful, the value of this variable is undefined.

Return Values

This method returns one of the following values.

Value Meaning
E_INVALIDARG The ppEnum parameter is incorrect.
E_OUTOFMEMORY Insufficient memory.
E_UNEXPECTED Unexpected error. Caught an exception or the SID-to-name resolver thread has not been created.

See Also

File Systems Overview, File System Interfaces, IEnumDiskQuotaUsers