WHEA_GENERIC_ERROR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddk-_whea_generic_error)

_WHEA_GENERIC_ERROR structure

Description

The WHEA_GENERIC_ERROR structure describes error status data for a generic error source.

Members

BlockStatus

A WHEA_GENERIC_ERROR_BLOCKSTATUS union that indicates what kind of error data is reported in the generic error status block.

RawDataOffset

The offset, in bytes, from the beginning of the WHEA_GENERIC_ERROR structure to the beginning of the raw error data.

RawDataLength

The length, in bytes, of the raw error data that is located at the offset specified in the RawDataOffset member.

DataLength

The size, in bytes, of the error data contained in the Data member.

ErrorSeverity

A WHEA_ERROR_SEVERITY-typed value that indicates the severity of the error condition.

Data

A 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.

Remarks

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.

See also

WHEA_ERROR_PACKET

WHEA_ERROR_SEVERITY

WHEA_GENERIC_ERROR_BLOCKSTATUS

WHEA_GENERIC_ERROR_DESCRIPTOR