Debugging Tools for Windows

ReadBugCheckData

The ReadBugCheckData method reads the kernel bug check code and related parameters.

HRESULT
  IDebugControl::ReadBugCheck(
    OUT PULONG  Code,
    OUT PULONG64  Arg1,
    OUT PULONG64  Arg2,
    OUT PULONG64  Arg3,
    OUT PULONG64  Arg4
    );

Parameters

Code
Receives the bug check code.
Arg1
Receives the first parameter associated with the bug check. The interpretation of this parameter depends on the bug check code.
Arg2
Receives the second parameter associated with the bug check. The interpretation of this parameter depends on the bug check code.
Arg3
Receives the third parameter associated with the bug check. The interpretation of this parameter depends on the bug check code.
Arg4
Receives the fourth parameter associated with the bug check. The interpretation of this parameter depends on the bug check code.

Return Value

S_OK
The method was successful.

This method can also return error values. See Return Values for more details.

Interface Version

ReadBugCheck is available in all versions of IDebugControl.

Comments

This method is only available in kernel-mode debugging.

For more information about bug checks, including a list of bug check codes and their interpretations, see Bug Checks (Blue Screens).

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

Build machine: CAPEBUILD