_WHEA_ERROR_SOURCE_READY_DEVICE_DRIVER callback function

A driver's _WHEA_ERROR_SOURCE_READY_DEVICE_DRIVER callback function is called when an error source is ready to receive error reports.

Syntax

_WHEA_ERROR_SOURCE_READY_DEVICE_DRIVER WheaErrorSourceReadyDeviceDriver;

void WheaErrorSourceReadyDeviceDriver(
  PVOID ErrorSourceDesc,
  PVOID Context
)
{...}

Parameters

ErrorSourceDesc

Context

Return Value

Returns VOID.

Remarks

Register your implementation of this callback function by setting the appropriate member of WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER and then calling WheaAddErrorSourceDeviceDriver.

After this routine is called, the driver can report errors by calling WheaReportHwErrorDeviceDriver.

Requirements

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