Export (0) Print
Expand All
Expand Minimize

__getPSP

Microsoft Specific

Returns the value of the stack pointer for the parent stack frame at the point of the call to the function associated with the current stack frame.

unsigned __int64 __getPSP(void);

The value of the stack pointer when the calling function was first entered.

Intrinsic

Architecture

__getPSP

IPF

Header file <intrin.h>

If called within a function but outside of a catch or finally block, it returns the parent's stack pointer at the point of the parent's call to the function.

If called within a catch or finally block, it returns the original stack pointer for the function in which the catch or finally block resides.

This routine is only available as an intrinsic.

Community Additions

ADD
Show:
© 2014 Microsoft