// ntddk.h
typedef struct _WHEA_GENERIC_ERROR {
WHEA_GENERIC_ERROR_BLOCKSTATUS BlockStatus;
ULONG RawDataOffset;
ULONG RawDataLength;
ULONG DataLength;
WHEA_ERROR_SEVERITY ErrorSeverity;
UCHAR Data[1];
} WHEA_GENERIC_ERROR, *PWHEA_GENERIC_ERROR;
View the official Windows Driver Kit DDI referenceNo description available.
The WHEA_GENERIC_ERROR structure describes error status data for a generic error source.
BlockStatusA WHEA_GENERIC_ERROR_BLOCKSTATUS union that indicates what kind of error data is reported in the generic error status block.
RawDataOffsetThe offset, in bytes, from the beginning of the WHEA_GENERIC_ERROR structure to the beginning of the raw error data.
RawDataLengthThe length, in bytes, of the raw error data that is located at the offset specified in the RawDataOffset member.
DataLengthThe size, in bytes, of the error data contained in the Data member.
ErrorSeverityA WHEA_ERROR_SEVERITY-typed value that indicates the severity of the error condition.
DataA variable-sized buffer that contains the error data from the generic error source. This buffer contains the generic error status block followed by the raw error data.
A generic error source is described by a WHEA_GENERIC_ERROR_DESCRIPTOR structure. The ErrStatusAddress member of the WHEA_GENERIC_ERROR_DESCRIPTOR structure points to a register that contains the physical address of a WHEA_GENERIC_ERROR structure in firmware reserved memory. This WHEA_GENERIC_ERROR structure contains the error status data for the generic error source.
A WHEA_GENERIC_ERROR structure is included in the RawData member of a WHEA_ERROR_PACKET structure whenever the RawDataFormat member of the WHEA_ERROR_PACKET structure contains WheaRawDataFormatGeneric.
WHEA_GENERIC_ERROR_BLOCKSTATUS