AuxKlibGetBugCheckData function (aux_klib.h)

The AuxKlibGetBugCheckData routine retrieves information about a bug check that has just occurred.

Syntax

NTSTATUS AuxKlibGetBugCheckData(
  [out] PKBUGCHECK_DATA BugCheckData
);

Parameters

[out] BugCheckData

A pointer to a KBUGCHECK_DATA structure that contains information about the bug check. The BugCheckData size of this structure should be set equal to the size, in bytes, of the KBUGCHECK_DATA structure.

Return value

AuxKlibGetBugCheckData returns STATUS_SUCCESS if the operation succeeds. The routine returns STATUS_INFO_LENGTH_MISMATCH if the KBUGCHECK_DATA structure's size is incorrect.

Remarks

The AuxKlibGetBugCheckData routine can be called only from a BugCheckCallback routine.

Drivers must call AuxKlibInitialize before calling AuxKlibGetBugCheckData.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 2000.
Target Platform Universal
Header aux_klib.h (include Aux_klib.h)
Library Aux_Klib.lib

See also

AuxKlibInitialize

BugCheckCallback

KBUGCHECK_DATA