KDHELP64 structure (dbghelp.h)

Information that is used by kernel debuggers to trace through user-mode callbacks in a thread's kernel stack.

Syntax

typedef struct _KDHELP64 {
  DWORD64 Thread;
  DWORD   ThCallbackStack;
  DWORD   ThCallbackBStore;
  DWORD   NextCallback;
  DWORD   FramePointer;
  DWORD64 KiCallUserMode;
  DWORD64 KeUserCallbackDispatcher;
  DWORD64 SystemRangeStart;
  DWORD64 KiUserExceptionDispatcher;
  DWORD64 StackBase;
  DWORD64 StackLimit;
  DWORD   BuildVersion;
  DWORD   RetpolineStubFunctionTableSize;
  DWORD64 RetpolineStubFunctionTable;
  DWORD   RetpolineStubOffset;
  DWORD   RetpolineStubSize;
  DWORD64 Reserved0[2];
} KDHELP64, *PKDHELP64;

Members

Thread

The address of the kernel thread object, as provided in the WAIT_STATE_CHANGE packet.

ThCallbackStack

The offset in the thread object to the pointer to the current callback frame in the kernel stack.

ThCallbackBStore

Intel Itanium:  The offset in the thread object to a pointer to the current callback backing store frame in the kernel stack.

NextCallback

The address of the next callback frame.

FramePointer

The address of the saved frame pointer, if applicable.

KiCallUserMode

The address of the kernel function that calls out to user mode.

KeUserCallbackDispatcher

The address of the user-mode dispatcher function.

SystemRangeStart

The lowest kernel-mode address.

KiUserExceptionDispatcher

The address of the user-mode exception dispatcher function.

DbgHelp 6.1 and earlier:  This member is not supported.

StackBase

The address of the stack base.

StackLimit

The stack limit.

BuildVersion

TBD

RetpolineStubFunctionTableSize

TBD

RetpolineStubFunctionTable

TBD

RetpolineStubOffset

TBD

RetpolineStubSize

TBD

Reserved0[2]

This member is reserved for use by the operating system.

Remarks

This structure supersedes the KDHELP structure. For more information, see Updated Platform Support. KDHELP is defined as follows in Dbghelp.h.

#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64)
#define KDHELP KDHELP64
#define PKDHELP PKDHELP64
#else
typedef struct _KDHELP {
    DWORD   Thread;
    DWORD   ThCallbackStack;
    DWORD   NextCallback;
    DWORD   FramePointer;
    DWORD   KiCallUserMode;
    DWORD   KeUserCallbackDispatcher;
    DWORD   SystemRangeStart;
    DWORD   ThCallbackBStore;
    DWORD   KiUserExceptionDispatcher;
    DWORD   StackBase;
    DWORD   StackLimit;
    DWORD   Reserved[5];
} KDHELP, *PKDHELP;
#endif

Requirements

Requirement Value
Header dbghelp.h
Redistributable DbgHelp.dll 5.1 or later

See also

STACKFRAME64