Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 2 KB

icorprofilerfunctionenum-next-method.md

File metadata and controls

66 lines (49 loc) · 2 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: ICorProfilerFunctionEnum::Next Method
ICorProfilerFunctionEnum::Next Method
03/30/2017
ICorProfilerFunctionEnum.Next Method
mscorwks.dll
COM
ICorProfilerFunctionEnum::Next
ICorProfilerFunctionEnum::Next method [.NET Framework profiling]
Next method, ICorProfilerFunctionEnum interface [.NET Framework profiling]
5ed4aa83-ce56-4b9f-9237-5da7587787fe
apiref

ICorProfilerFunctionEnum::Next Method

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

Syntax

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

Parameters

celt
[in] The number of functions to retrieve.

ids
[out] An array of COR_PRF_FUNCTION values, each of which represents a retrieved function.

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

Return Value

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.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: [!INCLUDEnet_current_v40plus]

See also