// ntddk.h
typedef struct _WHEA_ERROR_RECORD_HEADER {
ULONG Signature;
WHEA_REVISION Revision;
ULONG SignatureEnd;
USHORT SectionCount;
WHEA_ERROR_SEVERITY Severity;
WHEA_ERROR_RECORD_HEADER_VALIDBITS ValidBits;
ULONG Length;
WHEA_TIMESTAMP Timestamp;
GUID PlatformId;
GUID PartitionId;
GUID CreatorId;
GUID NotifyType;
ULONGLONG RecordId;
WHEA_ERROR_RECORD_HEADER_FLAGS Flags;
WHEA_PERSISTENCE_INFO PersistenceInfo;
union {
struct {
ULONG OsBuildNumber;
UCHAR Reserved2[8];
};
UCHAR Reserved[12];
};
} WHEA_ERROR_RECORD_HEADER, *PWHEA_ERROR_RECORD_HEADER;
View the official Windows Driver Kit DDI referenceNo description available.
The WHEA_ERROR_RECORD_HEADER structure describes general information about a hardware error condition.
SignatureThe signature of the error record. This member contains the value 'REPC'.
RevisionA WHEA_REVISION union that describes the revision level of the WHEA_ERROR_RECORD_HEADER structure.
SignatureEndThe end of the signature of the error record. This member contains the value 0xFFFFFFFF.
SectionCountThe number of sections of error information that are contained in the error record.
SeverityA WHEA_ERROR_SEVERITY-typed value that indicates the severity of the error condition described by the error record.
ValidBitsA WHEA_ERROR_RECORD_HEADER_VALIDBITS union that specifies which members of the WHEA_ERROR_RECORD_HEADER structure contain valid data.
LengthThe length, in bytes, of the error record.
TimestampA WHEA_TIMESTAMP union that indicates the time that the error was reported to the operating system. This member contains valid data only if the ValidBits.Timestamp bit is set.
PlatformIdA GUID that identifies the platform on which the hardware error occurred. This member contains valid data only if the ValidBits.PlatformId bit is set.
PartitionIdA GUID that identifies the partition on which the hardware error occurred. This member contains valid data only if the ValidBits.PartitionId bit is set.
CreatorIdA GUID that identifies the entity that created the error record. When the Windows kernel creates an error record, it sets this member to WHEA_RECORD_CREATOR_GUID.
NotifyTypeA GUID that identifies the notification mechanism by which an error condition is reported to the operating system. The following are the GUIDs for the standard notification types:
Corrected Machine Check (CMC)
Corrected Platform Error (CPE)
Machine Check Exception (MCE)
PCI Express (PCIe) Error
INIT Error Record (INIT)
Nonmaskable Interrupt (NMI)
Boot Error Record (BOOT)
For error notification types that do not conform to one of the standard types in the previous list, a platform-specific GUID can be defined to identify the notification mechanism. If the notification type does not correspond to any of the standard notification types or any platform-specific notification types, this member is set to GENERIC_NOTIFY_TYPE_GUID.
RecordIdThe identifier of the error record. This identifier is unique only on the system that created the error record.
FlagsA WHEA_ERROR_RECORD_HEADER_FLAGS union that describes the error condition.
PersistenceInfoA WHEA_PERSISTENCE_INFO union that is used by the error record persistence interface.
ReservedReserved for system use.
OsBuildNumberReserved2A WHEA_ERROR_RECORD_HEADER structure is contained within the WHEA_ERROR_RECORD structure. The WHEA_ERROR_RECORD_HEADER structure describes general information about the hardware error condition that is described by the error record.
WHEA_ERROR_RECORD_HEADER_VALIDBITS