Share via


ICorDebugInternalFrame2::GetFrameAddress Method

Returns the stack address of the internal frame.

HRESULT GetFrameAddress([out] CORDB_ADDRESS *pAddress);

Parameters

  • pAddress
    [out] Pointer to the CORDB_ADDRESS for the internal frame.

Return Value

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

HRESULT

Description

S_OK

The address of the internal frame was successfully returned.

E_FAIL

The address of the internal frame could not be returned.

E_INVALIDARG

pAddress is null.

Remarks

The value returned in pAddress can be used to determine the location of the internal frame relative to other frames on the stack. Even on IA-64-based computers, the internal frame lives on the stack only, and there is no corresponding pointer to a backing store.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4

See Also

Reference

ICorDebugInternalFrame2 Interface

Other Resources

Debugging Interfaces

Debugging (Unmanaged API Reference)