IoGetInitialStack function (wdm.h)
The IoGetInitialStack routine returns the base address of the current thread's stack.
C++
PVOID IoGetInitialStack();
IoGetInitialStack returns the initial base address of the current thread's stack.
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.
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Ntddk.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <=APC_LEVEL |
DDI compliance rules | HwStorPortProhibitedDDIs(storport), IrqlIoApcLte(wdm) |