// ntddk.h
typedef struct _WHEA_ERROR_PACKET_V2 {
ULONG Signature;
ULONG Version;
ULONG Length;
WHEA_ERROR_PACKET_FLAGS Flags;
WHEA_ERROR_TYPE ErrorType;
WHEA_ERROR_SEVERITY ErrorSeverity;
ULONG ErrorSourceId;
WHEA_ERROR_SOURCE_TYPE ErrorSourceType;
GUID NotifyType;
ULONGLONG Context;
WHEA_ERROR_PACKET_DATA_FORMAT DataFormat;
ULONG Reserved1;
ULONG DataOffset;
ULONG DataLength;
ULONG PshedDataOffset;
ULONG PshedDataLength;
} WHEA_ERROR_PACKET_V2, *PWHEA_ERROR_PACKET_V2, WHEA_ERROR_PACKET, *PWHEA_ERROR_PACKET;
View the official Windows Driver Kit DDI referenceNo description available.
The WHEA_ERROR_PACKET_V2 structure describes the hardware error data that is passed to the operating system by a low-level hardware error handler (LLHEH).
SignatureThe signature of the hardware error packet. This member contains the value WHEA_ERROR_PACKET_V2_SIGNATURE.
VersionThe version of the WHEA_ERROR_PACKET_V2 structure. This member contains the value WHEA_ERROR_PACKET_V2_VERSION.
LengthFlagsA WHEA_ERROR_PACKET_FLAGS union that describes the error condition.
ErrorTypeA WHEA_ERROR_TYPE-typed value that indicates the type of hardware component that reported the hardware error.
ErrorSeverityA WHEA_ERROR_SEVERITY-typed value that indicates the severity of the error condition.
ErrorSourceIdThe identifier of the error source that reported the hardware error.
ErrorSourceTypeA WHEA_ERROR_SOURCE_TYPE-typed value that indicates the type of error source that reported the hardware error.
NotifyTypeContextReserved for system use.
DataFormatReserved1Reserved for system use.
DataOffsetDataLengthPshedDataOffsetPshedDataLengthThe WHEA_ERROR_PACKET_V2 structure is used to report a hardware error in Windows 7 and later versions of Windows.
If your platform-specific hardware error driver (PSHED) plug-ins run on any WHEA-compatible Windows version, You can inspect the version of WHEA_ERROR_PACKET by following these steps:
An LLHEH passes a WHEA_ERROR_PACKET_V2 structure to the operating system when it reports a hardware error. This hardware error packet contains the raw hardware error data direct from the error source's error status registers.
The WHEA_ERROR_PACKET_V2 structure describes the error data that is contained in a hardware error packet error section of an error record. An error record contains a hardware error packet error section only if the SectionType member of one of the WHEA_ERROR_RECORD_SECTION_DESCRIPTOR structures that describe the error record sections for that error record contains WHEA_PACKET_SECTION_GUID.
Platform-Specific Hardware Error Driver (PSHED) Plug-Ins
WHEA_ERROR_PACKET_V2
WHEA_ERROR_RECORD_SECTION_DESCRIPTOR
WHEA_PROCESSOR_GENERIC_ERROR_SECTION