WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER structure (ntddk.h)

Syntax

typedef struct _WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER {
  ULONG                                        Version;
  GUID                                         SourceGuid;
  USHORT                                       LogTag;
  UCHAR                                        Reserved[6];
  WHEA_ERROR_SOURCE_INITIALIZE_DEVICE_DRIVER   Initialize;
  WHEA_ERROR_SOURCE_UNINITIALIZE_DEVICE_DRIVER Uninitialize;
  ULONG                                        MaxSectionDataLength;
  ULONG                                        MaxSectionsPerReport;
  GUID                                         CreatorId;
  GUID                                         PartitionId;
} WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, *PWHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER;

Members

Version

A ULONG specifying the version of this structure to use. Starting in Windows 10, version 2004, set to WHEA_DEVICE_DRIVER_CONFIG_V2.

SourceGuid

A GUID corresponding to the driver generating the errors.

LogTag

Used by device drivers that also create SEL (System Event Log) data to help identify the source of the SEL log.

Reserved[6]

Reserved for system use.

Initialize

A pointer to the driver's WHEA_ERROR_SOURCE_INITIALIZE_DEVICE_DRIVER event callback function.

Uninitialize

A pointer to the driver's WHEA_ERROR_SOURCE_UNINITIALIZE_DEVICE_DRIVER event callback function.

MaxSectionDataLength

Specifies the maximum size, in bytes, for a single section in a reported error.

MaxSectionsPerReport

A ULONG that specifies the maximum number of sections per report.

CreatorId

A GUID identifying the creator, i.e. the organization, that is generating the error.

PartitionId

A GUID that is used in the Common Platform Error Record (CPER). Can be zero.

Remarks

The WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER structure is used as input to the WheaAddErrorSourceDeviceDriver function.

For more info, see Using WHEA on Windows 10.

Requirements

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