// ntddk.h
NTSTATUS WheaHwErrorReportAbandonDeviceDriver(
WHEA_ERROR_HANDLE ErrorHandle
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine abandons the in progress error report and releases its resources.
ErrorHandleThe handle returned by WheaCreateHwErrorReportDeviceDriver.
Returns STATUS_SUCCESS or STATUS_INVALID_HANDLE if the handle is invalid.
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.