IEnumDiskQuotaUsers::Clone method (dskquota.h)

Creates another enumerator of user quota entries 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.

Syntax

HRESULT Clone(
  IEnumDiskQuotaUsers **ppEnum
);

Parameters

ppEnum

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

Return value

This method returns one of the following values.

Return code Description
E_INVALIDARG
The ppEnum parameter is NULL.
E_OUTOFMEMORY
Insufficient memory.
E_UNEXPECTED
An unexpected exception occurred.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header dskquota.h
DLL Dskquota.dll

See also

Disk Management Interfaces

Disk Quotas

IEnumDiskQuotaUsers