Compartilhar via


IEnumSTATDATA::Next

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

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 indicates that the number of elements supplied is celt. S_FALSE indicates otherwise.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Objidl.h, Objidl.idl.
Link Library: Ole32.lib, Uuid.lib.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.