IEnumBitsPeers::Next method (bits3_0.h)
Retrieves a specified number of items in the enumeration sequence. If there are fewer than the requested number of elements left in the sequence, it retrieves the remaining elements.
HRESULT Next( [in] ULONG celt, [out] IBitsPeer **rgelt, [out] ULONG *pceltFetched );
Number of elements requested.
Array of IBitsPeer objects. You must release each object in rgelt when done.
Number of elements returned in rgelt. You can set pceltFetched to NULL if celt is one. Otherwise, initialize the value of pceltFetched to 0 before calling this method.
This method returns the following HRESULT values, as well as others.
||Successfully returned the number of requested elements.|
||Returned less than the number of requested elements.|
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|
|Header||bits3_0.h (include Bits.h)|