WheaRemoveErrorSourceDeviceDriver function

To remove a previously added error source, a device driver calls WheaRemoveErrorSourceDeviceDriver.

Syntax

void WheaRemoveErrorSourceDeviceDriver(
  ULONG ErrorSourceId
);

Parameters

ErrorSourceId

The error source ID WHEA provided when it called the _WHEA_ERROR_SOURCE_INITIALIZE_DEVICE_DRIVER callback.

Return Value

This function returns VOID.

Remarks

This routine must be called at PASSIVE_LEVEL as it synchronously removes the device driver's error source.

Requirements

   
Minimum supported client Windows 10, version 1903
Header ntddk.h

See Also

WheaAddErrorSourceDeviceDriver

WheaReportHwErrorDeviceDriver