Compartir a través de


IEnumDebugAddresses::Next

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This method returns the next set of elements from the enumeration.

Syntax

HRESULT Next(
   ULONG           celt,
   IDebugAddress** rgelt,
   ULONG*          pceltFetched
);
int Next(
   uint            celt,
   IDebugAddress[] rgelt,
   ref uint        pceltFetched
);

Parameters

celt
[in] The number of elements to retrieve. Also specifies the maximum size of the rgelt array.

rgelt
[in, out] Array of IDebugAddress elements to be filled in.

pceltFetched
[out] Returns the number of elements actually returned in rgelt.

Return Value

If successful, returns S_OK. Returns S_FALSE if fewer than the requested number of elements could be returned; otherwise, returns an error code.

See also