Platform SDK: Files and I/O

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 NULL.
E_OUTOFMEMORY Insufficient memory.
E_UNEXPECTED An unexpected exception occurred.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Dskquota.h.

See Also

File Systems Overview, File System Interfaces, IEnumDiskQuotaUsers