Bagikan melalui


IEnumDebugReferenceInfo2::Next

Returns the next set of elements from the enumeration.

HRESULT Next(
   ULONG                   celt,
   DEBUG_REFERENCE_INFO ** rgelt,
   ULONG*                  pceltFetched
);
int Next(
   uint                   celt,
   DEBUG_REFERENCE_INFO[] 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 DEBUG_REFERENCE_INFO 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

Reference

IEnumDebugReferenceInfo2

DEBUG_REFERENCE_INFO