Microsoft SDK for Java

Next

This method of the IEnumUnknown interface 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).

Syntax

public void Next(int celt, String[] rgelt, int[] pceltFetched);

Return Values

S_OK if the number of elements supplied is celt; S_FALSE otherwise.

Parameters

[in] celt The number of elements being requested.
[out] rgelt The array of size celt (or larger) of the elements of interest. The type of this parameter depends on the item being enumerated.
[in, out] pceltFetched The pointer to the number of elements actually supplied in rgelt. The caller can pass in NULL if celt is one.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.