ICorProfilerInfo3::GetFunctionLeave3Info Method
Provides the stack frame and return value of the function that is being reported to the profiler by the FunctionLeave3WithInfo function function. This method can be called only during the FunctionLeave3WithInfo callback.
HRESULT GetFunctionLeave3Info(
[in] FunctionID functionId,
[in] COR_PRF_ELT_INFO eltInfo,
[out] COR_PRF_FRAME_INFO *pFrameInfo,
[out] COR_PRF_FUNCTION_ARGUMENT_RANGE *pRetvalRange);
Parameters
functionId
[in] The FunctionID of the function that is returning.eltInfo
[in] An opaque handle that represents information about a given stack frame. The profiler should provide the same eltInfo that was given to the profiler by the FunctionLeave3WithInfo function.pFrameInfo
[out] An opaque handle that represents generics information about a given stack frame. This handle is valid only during the FunctionLeave3WithInfo callback in which the profiler called the GetFunctionLeave3Info method.pRetvalRange
[out] A pointer to a COR_PRF_FUNCTION_ARGUMENT_RANGE structure that contains the value that is returned from the function. To access return value information, the COR_PRF_ENABLE_FUNCTION_RETVAL flag must be set. The profiler can use the ICorProfilerInfo::SetEventMask method to set the event flags.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: 4