IDebugControl::ReadBugCheckData method (dbgeng.h)

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

Syntax

HRESULT ReadBugCheckData(
  [out] PULONG   Code,
  [out] PULONG64 Arg1,
  [out] PULONG64 Arg2,
  [out] PULONG64 Arg3,
  [out] PULONG64 Arg4
);

Parameters

[out] Code

Receives the bug check code.

[out] Arg1

Receives the first parameter associated with the bug check. The interpretation of this parameter depends on the bug check code.

[out] Arg2

Receives the second parameter associated with the bug check. The interpretation of this parameter depends on the bug check code.

[out] Arg3

Receives the third parameter associated with the bug check. The interpretation of this parameter depends on the bug check code.

[out] Arg4

Receives the fourth parameter associated with the bug check. The interpretation of this parameter depends on the bug check code.

Return value

Return code Description
S_OK
The method was successful.
 

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

Remarks

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

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)