IoGetInitialStack - NtDoc

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

PVOID IoGetInitialStack();
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IoGetInitialStack function

Description

The IoGetInitialStack routine returns the base address of the current thread's stack.

Return value

IoGetInitialStack returns the initial base address of the current thread's stack.

Remarks

Highest-level drivers can call this routine, particularly file systems attempting to determine whether they've been passed a pointer to a location on the current thread's stack.

See also

IoGetRemainingStackSize

IoGetStackLimits