IEnumSTATSTG::Next method (objidl.h)
The Next method retrieves a specified number of STATSTG structures, that follow in the enumeration sequence. If there are fewer than the requested number of STATSTG structures that remain in the enumeration sequence, it retrieves the remaining STATSTG structures.
Syntax
HRESULT Next(
[in] ULONG celt,
[out] STATSTG *rgelt,
[out] ULONG *pceltFetched
);
Parameters
[in] celt
The number of STATSTG structures requested.
[out] rgelt
An array of STATSTG structures returned.
[out] pceltFetched
The number of STATSTG structures retrieved in the rgelt parameter.
Return value
This method supports the following return values:
Return code | Description |
---|---|
|
The number of STATSTG structures returned is equal to the number specified in the celt parameter. |
|
The number of STATSTG structures returned is less than the number specified in the celt parameter. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | objidl.h |
Library | Uuid.lib |
DLL | Ole32.dll |