Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[out] LowLimit
Pointer to a caller-supplied variable in which this routine returns the lower offset of the current thread's stack frame.
[out] HighLimit
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
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | See Remarks section. |