IEnumSTATSTG::Next

This method retrieves a specified number of items in the enumeration sequence.

At a Glance

Header file: Objidl.h
Windows CE versions: 2.0 and later

Syntax

HRESULT Next( ULONG celt, ELT_T[ ] rgelt, ULONG * pceltFetched);

Parameters

celt

[in] Number of elements being requested.

rgelt

[out] Array of size celt (or larger) of the elements of interest. The type of this parameter depends on the item being enumerated.

pceltFetched

[in/out] Pointer to the number of elements actually supplied in rgelt. Caller can pass in NULL if celt is one.

Return Values

S_OK indicatesthat the number of elements supplied is celt. S_FALSE indicates otherwise.