Export (0) Print
Expand All
Expand Minimize

KDHELP64 structure

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;
  DWORD64 Reserved[5];
} 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.

Reserved

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

Redistributable

DbgHelp.dll 5.1 or later

Header

DbgHelp.h

See also

STACKFRAME64

 

 

Community Additions

ADD
Show:
© 2014 Microsoft