STACKFRAME64 Structure

Debug Help Library

STACKFRAME64 Structure

Represents a stack frame.

This structure supersedes the STACKFRAME structure. For more information, see Updated Platform Support.

typedef struct _tagSTACKFRAME64 {
ADDRESS64 AddrPC;
ADDRESS64 AddrReturn;
ADDRESS64 AddrFrame;
ADDRESS64 AddrStack;
ADDRESS64 AddrBStore;
PVOID FuncTableEntry;
DWORD64 Params[4];
BOOL Far;
BOOL Virtual;
DWORD64 Reserved[3];
KDHELP64 KdHelp; } STACKFRAME64,
*LPSTACKFRAME64;

Members

AddrPC

An ADDRESS64 structure that specifies the program counter.

x86:  The program counter is EIP.
Intel IPF:  The program counter is StIIP.
x64:  The program counter is RIP.
AddrReturn

An ADDRESS64 structure that specifies the return address.

AddrFrame

An ADDRESS64 structure that specifies the frame pointer.

x86:  The frame pointer is EBP.
Intel IPF:  There is no frame pointer, but AddrBStore is used.
x64:  The frame pointer is RBP or RDI. This value is not always used.
AddrStack

An ADDRESS64 structure that specifies the stack pointer.

x86:  The stack pointer is ESP.
Intel IPF:  The stack pointer is SP.
x64:  The stack pointer is RSP.
AddrBStore
Intel IPF:  An ADDRESS64 structure that specifies the backing store (RsBSP).
FuncTableEntry

On x86 computers, this member is an FPO_DATA structure. If there is no function table entry, this member is NULL.

Params

The possible arguments to the function.

Far

This member is TRUE if this is a WOW far call.

Virtual

This member is TRUE if this is a virtual frame.

Reserved

This member is used internally by the StackWalk64 function.

KdHelp

A KDHELP64 structure that specifies helper data for walking kernel callback frames.

Requirements

Redistributable

Requires DbgHelp.dll 5.1 or later.

Header

Declared in DbgHelp.h.

See Also

ADDRESS64
FPO_DATA
IMAGE_FUNCTION_ENTRY
KDHELP64
StackWalk64


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.