Retrieves the next celt 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 pceltFetched (unless the caller passed in NULL for that parameter).
HRESULT Next(
ULONG celt, |
//Number of elements requested |
ELT_T[ ] rgelt, |
//Array of the elements |
ULONG * pceltFetched |
//Pointer to the number of elements actually supplied |
); |
Parameters
Return Value
S_OK if the number of elements supplied is celt; S_FALSE otherwise.