__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);

Return Value

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

Requirements

Intrinsic

Architecture

__getPSP

IPF

Header file <intrin.h>

Remarks

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.

See Also

Reference

Compiler Intrinsics