Compartilhar via


IEnumOLEVERB::Next (Compact 2013)

3/26/2014

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

Syntax

HRESULT Next(
  ULONG celt,           
  LPOLEVERB rgelt,      
  ULONG * pceltFetched  
);

Parameters

  • celt
    [in] Number of elements 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 supplied in rgelt.

    The caller can pass in NULL if celt is one.

Return Value

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

Header

Oleidl.h,
oleidl.idl

Library

ole32.lib,
uuid.lib

See Also

Reference

IEnumOLEVERB