This topic has not yet been rated - Rate this topic

ICorProfilerModuleEnum::Next Method

Gets the specified number of contiguous modules from a sequential collection of modules, starting at the enumerator's current position in the sequence.

HRESULT Next([in]  ULONG      celt,
             [out, size_is(celt), length_is(*pceltFetched)]
                    ModuleID ids[],
             [out] ULONG *   pceltFetched);
celt

[in] The number of modules to retrieve.

ids

[out] An array of ModuleID values, each of which represents a retrieved module.

pceltFetched

[out] A pointer to the number of elements actually returned in the ids array.

This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.

HRESULT

Description

S_OK

celt elements were returned.

S_FALSE

Fewer than celt elements were returned, which indicates that the enumeration is complete.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4.5, 4

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.