WheaHwErrorReportSetSeverityDeviceDriver function (ntddk.h)

This routine sets the error severity of the packet and sections.

Syntax

NTSTATUS WheaHwErrorReportSetSeverityDeviceDriver(
  WHEA_ERROR_HANDLE   ErrorHandle,
  WHEA_ERROR_SEVERITY ErrorSeverity
);

Parameters

ErrorHandle

The handle returned by WheaCreateHwErrorReportDeviceDriver.

ErrorSeverity

An enumeration value from WHEA_ERROR_SEVERITY representing the new severity for the error.

Return value

Returns STATUS_SUCCESS or STATUS_INVALID_HANDLE if the handle is invalid.

Requirements

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