WheaHwErrorReportSubmitDeviceDriver - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddk.h

NTSTATUS WheaHwErrorReportSubmitDeviceDriver(
  WHEA_ERROR_HANDLE ErrorHandle
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddk-wheahwerrorreportsubmitdevicedriver)

Description

This routine submits an in progress error report to WHEA to be reported as a hardware error.

Parameters

ErrorHandle

The handle returned by WheaCreateHwErrorReportDeviceDriver.

Return value

Returns STATUS_SUCCESS or one of the following:

Otherwise, this routine returns the status returned by WheaReportHwError.

Remarks

Before calling this routine, the driver should add all desired sections by calling WheaAddHwErrorReportSectionDeviceDriver.

After calling this routine, buffers in the buffer sets are no longer available for use, and the handle is invalid.

If an error has occurred, or the error is no longer valid, the driver can clean up without a report being submitted to WHEA by calling WheaHwErrorReportAbandonDeviceDriver.

For more info, see Using WHEA on Windows 10.

See also