Compartir a través de


IDebugStackFrame2::GetPhysicalStackRange

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets a machine-dependent representation of the range of physical addresses associated with a stack frame.

Syntax

HRESULT GetPhysicalStackRange ( 
   UINT64* paddrMin,
   UINT64* paddrMax
);
int GetPhysicalStackRange ( 
   out ulong paddrMin,
   out ulong paddrMax
);

Parameters

paddrMin
[out] Returns the lowest physical address associated with this stack frame.

paddrMax
[out] Returns the highest physical address associated with this stack frame.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The information returned by this method is used by the session debug manager (SDM) to sort stack frames.

It is assumed that the call stack grows down, that is, that new stack frames are added at increasingly lower memory addresses. A run-time architecture must provide physical stack ranges that match this assumption.

See also