IoGetStackLimits - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

VOID IoGetStackLimits(
  [out] PULONG_PTR LowLimit,
  [out] PULONG_PTR HighLimit
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-iogetstacklimits)

IoGetStackLimits function

Description

The IoGetStackLimits routine returns the boundaries of the current thread's stack frame.

Parameters

LowLimit [out]

Pointer to a caller-supplied variable in which this routine returns the lower offset of the current thread's stack frame.

HighLimit [out]

Pointer to a caller-supplied variable in which this routine returns the higher offset of the current thread's stack frame.

Remarks

Highest-level drivers can call this routine, particularly file systems that have been passed a pointer to a location on the current thread's stack.

In Windows Server 2003 Service Pack 1 (SP1) and later versions of Windows, callers of IoGetStackLimits can be running at any IRQL. For earlier operating systems, the caller must be running at IRQL <= APC_LEVEL.

See also

IoGetInitialStack

IoGetRemainingStackSize