IEnumMoniker::Next (Windows CE 5.0)

Send Feedback

This method 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 retrieved is returned through pceltFetched (unless the caller passed in NULL for that parameter).

HRESULT Next(ULONGcelt,IMoniker_com_Imoniker* 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 if the number of elements supplied is celt; S_FALSE otherwise.

Remarks

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

Requirements

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.