IoGetStackLimits
TOC
Collapse the table of content
Expand the table of content

IoGetStackLimits routine

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

Syntax


VOID IoGetStackLimits(
  _Out_ PULONG_PTR LowLimit,
  _Out_ PULONG_PTR HighLimit
);

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.

Return value

None

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.

Requirements

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

See Remarks section.

See also

IoGetInitialStack
IoGetRemainingStackSize

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft