Platform SDK: Files and I/O

IEnumDiskQuotaUsers::Next

Retrieves the next cUsers items in the enumeration sequence. If there are fewer than the requested number of elements left in the sequence, it retrieves the remaining elements. The number of elements actually retrieved is returned through pcUsersFetched (unless the caller passed in NULL for that parameter).

HRESULT Next(
  DWORD cUsers, 
  PDISKQUOTA_USER *rgUsers, 
  LPDWORD pcUsersFetched
);

Parameters

cUsers
Specifies the number of elements being requested.
rgUsers
Array of size cUsers or larger.
pcUsersFetched
Pointer to the number of elements actually supplied in rgUsers. The caller can pass in NULL if cUsers is one.

Return Values

The return value is NOERROR if the number of elements supplied is cUsers; otherwise, the return value is S_FALSE.

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