WheaHwErrorReportAbandonDeviceDriver function (ntddk.h)

This routine abandons the in progress error report and releases its resources.

Syntax

NTSTATUS WheaHwErrorReportAbandonDeviceDriver(
  WHEA_ERROR_HANDLE ErrorHandle
);

Parameters

ErrorHandle

The handle returned by WheaCreateHwErrorReportDeviceDriver.

Return value

Returns STATUS_SUCCESS or STATUS_INVALID_HANDLE if the handle is invalid.

Remarks

If WheaAddHwErrorReportSectionDeviceDriver fails, or the error is no longer valid, the driver can call this routine to clean up resources without submitting a report to WHEA.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header ntddk.h