WHEA_GENERIC_ERROR structure (ntddk.h)
The WHEA_GENERIC_ERROR structure describes error status data for a generic error source.
Syntax
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;
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[1]
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in Windows Server 2008, Windows Vista SP1, and later versions of Windows. |
Header | ntddk.h (include Ntddk.h) |