// aux_klib.h
NTSTATUS AuxKlibGetBugCheckData(
[out] PKBUGCHECK_DATA BugCheckData
);
View the official Windows Driver Kit DDI referenceNo description available.
The AuxKlibGetBugCheckData routine retrieves information about a bug check that has just occurred.
BugCheckData [out]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.
AuxKlibGetBugCheckData returns STATUS_SUCCESS if the operation succeeds. The routine returns STATUS_INFO_LENGTH_MISMATCH if the KBUGCHECK_DATA structure's size is incorrect.
The AuxKlibGetBugCheckData routine can be called only from a BugCheckCallback routine.
Drivers must call AuxKlibInitialize before calling AuxKlibGetBugCheckData.