description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | author | ms.author | manager | ms.subservice | dev_langs | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the next set of elements from the code contexts enumeration. |
IEnumDebugCodeContexts2::Next |
11/04/2016 |
reference |
|
|
maiak |
maiak |
mijacobs |
debug-diagnostics |
|
Returns the next set of elements from the enumeration.
int Next(
uint celt,
IDebugCodeContext2[] rgelt,
ref uint pceltFetched
);
HRESULT Next(
ULONG celt,
IDebugCodeContext2** rgelt,
ULONG* pceltFetched
);
celt
[in] The number of elements to retrieve. Also specifies the maximum size of the rgelt
array.
rgelt
[in, out] Array of IDebugCodeContext2 elements to be filled in.
pceltFetched
[out] Returns the number of elements actually returned in rgelt
.
If successful, returns S_OK
. Returns S_FALSE
if fewer than the requested number of elements could be returned; otherwise, returns an error code.