IDkmThreadStackRangeProvider.GetStackAddressRange(DkmThread) Method

Definition

Retrieves the stack limit/stack base of the given thread. Note that its possible for this value to change over time, for example, in the case of fibers.

public:
 Microsoft::VisualStudio::Debugger::CallStack::DkmStackMemoryRange GetStackAddressRange(Microsoft::VisualStudio::Debugger::DkmThread ^ thread);
public Microsoft.VisualStudio.Debugger.CallStack.DkmStackMemoryRange GetStackAddressRange (Microsoft.VisualStudio.Debugger.DkmThread thread);
abstract member GetStackAddressRange : Microsoft.VisualStudio.Debugger.DkmThread -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackMemoryRange
Public Function GetStackAddressRange (thread As DkmThread) As DkmStackMemoryRange

Parameters

thread
DkmThread

[In] DkmThread represents a thread running in the target process.

Returns

[Out] The limit/base address for the memory containing a thread's stack.

Exceptions

E_INVALID_MEMORY_ADDRESS indicates that the address containing the TEB structure could not be read from the target process. This may be returned for minidumps without heap.

Applies to