IoGetInitialStack function (wdm.h)
The IoGetInitialStack routine returns the base address of the current thread's stack.
Syntax
PVOID IoGetInitialStack();
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.
Requirements
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) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for