WHEA_ERROR_RECORD structure (ntddk.h)

The WHEA_ERROR_RECORD structure describes an error record that contains error information about a hardware error condition that occurred.


typedef struct _WHEA_ERROR_RECORD {
  WHEA_ERROR_RECORD_HEADER             Header;



A WHEA_ERROR_RECORD_HEADER structure that describes general information about the hardware error condition.


A variable sized array of WHEA_ERROR_RECORD_SECTION_DESCRIPTOR structures that describe each of the sections of error information that are contained in the error record. The number of structures in the array is specified by the Header.SectionCount member of the WHEA_ERROR_RECORD structure.


When a hardware error occurs, WHEA creates an error record to store the error information associated with the hardware error condition. Each error record is described by a WHEA_ERROR_RECORD structure. The Windows kernel includes the error record with the Event Tracing for Windows (ETW) hardware error event that it raises in response to the error so that the error record is saved in the system event log.

The format of the error records that are used by WHEA are based on the Common Platform Error Record as described in Appendix N of version 2.2 of the Unified Extensible Firmware Interface (UEFI) Specification.

A user-mode application can retrieve the error record from the hardware error event for analysis. For more information about how to develop an application to retrieve error records from hardware error events, see WHEA Hardware Error Event Processing Applications.


Minimum supported client Supported in Windows Server 2008, Windows Vista SP1, and later versions of Windows.
Header ntddk.h (include Ntddk.h)

See also