IoGetInitialStack routine

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

Syntax


PVOID IoGetInitialStack(void);

Parameters

This routine has no parameters.

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

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Wdm.h (include Ntddk.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

<=APC_LEVEL

DDI compliance rules

IrqlIoApcLte, HwStorPortProhibitedDDIs

See also

IoGetRemainingStackSize
IoGetStackLimits

 

 

Send comments about this topic to Microsoft

Show: