DkmThread.GetStackAddressRange 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();
public Microsoft.VisualStudio.Debugger.CallStack.DkmStackMemoryRange GetStackAddressRange ();
member this.GetStackAddressRange : unit -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackMemoryRange
Public Function GetStackAddressRange () As DkmStackMemoryRange

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