Platform SDK: Debugging and Error Handling |
The STACKFRAME structure represents a stack frame.
typedef struct _tagSTACKFRAME { ADDRESS AddrPC; ADDRESS AddrReturn; ADDRESS AddrFrame; ADDRESS AddrStack; PVOID FuncTableEntry; DWORD Params[4]; BOOL Far; BOOL Virtual; DWORD Reserved[3]; KDHELP KdHelp; ADDRESS AddrBStore; } STACKFRAME, *LPSTACKFRAME;
Win64: This structure is defined as follows.
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;
On Alpha computers, there is no frame register, so the Offset member is not used and should be zero. However, the Offset member is used when walking a kernel stack which terminates in an exception frame. This is a special case.
Windows NT/2000: Requires Windows NT 3.51 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Dbghelp.h.
Debug Help Library Overview, DbgHelp Structures, ADDRESS, FPO_DATA, IMAGE_FUNCTION_ENTRY, KDHELP, StackWalk