KBUGCHECK_CALLBACK_RECORD structure (wdm.h)

The KBUGCHECK_CALLBACK_RECORD structure is an opaque structure that is used by the KeRegisterBugCheckCallback and KeDeregisterBugCheckCallback routines.

Syntax

typedef struct _KBUGCHECK_CALLBACK_RECORD {
  LIST_ENTRY                  Entry;
  PKBUGCHECK_CALLBACK_ROUTINE CallbackRoutine;
  PVOID                       Buffer;
  ULONG                       Length;
  PUCHAR                      Component;
  ULONG_PTR                   Checksum;
  UCHAR                       State;
} KBUGCHECK_CALLBACK_RECORD, *PKBUGCHECK_CALLBACK_RECORD;

Members

Entry

CallbackRoutine

Buffer

Length

Component

Checksum

State

The KBUGCHECK_CALLBACK_RECORD structure is used for bookkeeping by the KeRegisterBugCheckReasonCallback and KeDeregisterBugCheckReasonCallback routines.

The structure must be allocated in resident memory, such as nonpaged pool. Use the KeInitializeCallbackRecord routine to initialize the structure before using it.

For more information about how this structure is used, see Writing a Bug Check Callback Routine.

Requirements

Requirement Value
Header wdm.h

See also

Writing a Bug Check Callback Routine.