Windows Driver Kit: Kernel-Mode Driver Architecture
AuxKlibGetBugCheckData
The AuxKlibGetBugCheckData routine retrieves information about a bug check that has just occurred.
NTSTATUS
AuxKlibGetBugCheckData(
OUT PKBUGCHECK_DATA BugCheckData
);
Parameters
- 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 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.
Comments
The AuxKlibGetBugCheckData routine can be called only from a BugCheckCallback routine.
Drivers must call AuxKlibInitialize before calling AuxKlibGetBugCheckData.
Requirements
Headers: Declared in aux_klib.h. Include aux_klib.h.
See Also
AuxKlibInitialize, BugCheckCallback, KBUGCHECK_DATA