Udostępnij za pośrednictwem


IDebugStackFrame2::GetPhysicalStackRange

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

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

Reference

IDebugStackFrame2