Microsoft SDK for Java

IJavaEnumXXXX::
Next

The Next method of the IJavaEnumXXXX interface retrieves the next specified number of elements from the enumerator's list.

Syntax

HRESULT Next(ULONG celt, <element_type> *rgelt[], ULONG *pceltFetched)

Parameters

[in] celt The number of elements requested.
[out] rgelt The array to be filled in with the elements.
[out] pceltFetched The number of elements actually returned in rgelt. This can be less than celt if fewer than celt elements remained in the list.

Return Value

S_OK celt elements were returned. 

S_FALSE Fewer than celt elements were returned.

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