IEnumDiskQuotaUsers::Next method (dskquota.h)
Retrieves the specified number of user quota entries that are next in the enumeration sequence. If there are fewer than the requested number of elements left in the sequence, it retrieves the remaining elements.
Syntax
HRESULT Next(
[in] DWORD cUsers,
[out] PDISKQUOTA_USER *rgUsers,
[in, out] LPDWORD pcUsersFetched
);
Parameters
[in] cUsers
The number of elements being requested.
[out] rgUsers
An array of size cUsers or larger.
[in, out] pcUsersFetched
On input, the number of elements in rgUsers, on input. On output, the number of elements actually retrieved. The caller can pass in NULL if cUsers is one and the number of elements retrieved is of no interest.
Return value
The return value is S_OK if the number of elements supplied is cUsers; otherwise, the return value is S_FALSE.
Requirements
Requirement | Value |
---|---|
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 |