Partager via


Next method

Gets a number of elements in the enumeration sequence and advances the current position by that number of items.

Syntax

HRESULT retVal = object.Next(celt, rgelt, pceltFetched);

Parameters

  • celt [in]
    Type: unsigned long

    Number of elements to get.

  • rgelt [out]
    Type: ICodeStoreDBEntry

    The address of an ICodeStoreDBEntry pointer array.

  • pceltFetched [out]
    Type: unsigned long

    A pointer to the number of elements fetched.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.