WHEA_ERROR_PACKET_V2 structure (ntddk.h)

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

Syntax

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;

Members

Signature

The signature of the hardware error packet. This member contains the value WHEA_ERROR_PACKET_V2_SIGNATURE.

Version

The version of the WHEA_ERROR_PACKET_V2 structure. This member contains the value WHEA_ERROR_PACKET_V2_VERSION.

Length

Flags

A WHEA_ERROR_PACKET_FLAGS union that describes the error condition.

ErrorType

A WHEA_ERROR_TYPE-typed value that indicates the type of hardware component that reported the hardware error.

ErrorSeverity

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

ErrorSourceId

The identifier of the error source that reported the hardware error.

ErrorSourceType

A WHEA_ERROR_SOURCE_TYPE-typed value that indicates the type of error source that reported the hardware error.

NotifyType

Context

Reserved for system use.

DataFormat

Reserved1

Reserved for system use.

DataOffset

DataLength

PshedDataOffset

PshedDataLength

Remarks

The 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:

  1. If the Signature member for the WHEA_ERROR_PACKET equals WHEA_ERROR_PACKET_V1_SIGNATURE, the code is running on an early version of Windows, and the error packet is formatted as a WHEA_ERROR_PACKET_V1 structure.
  2. If the Signature member for the WHEA_ERROR_PACKET equals WHEA_ERROR_PACKET_V2_SIGNATURE, the code is running on a later version of Windows, and the error packet is formatted as a WHEA_ERROR_PACKET_V2 structure.
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.

Requirements

Requirement Value
Minimum supported client Supported in Windows 7 and later versions of Windows.
Header ntddk.h (include Ntddk.h)

See also

Platform-Specific Hardware Error Driver (PSHED) Plug-Ins

WHEA_ERROR_PACKET_FLAGS

WHEA_ERROR_PACKET_V2

WHEA_ERROR_RECORD_SECTION_DESCRIPTOR

WHEA_ERROR_SEVERITY

WHEA_ERROR_SOURCE_TYPE

WHEA_ERROR_TYPE

WHEA_MEMORY_ERROR_SECTION

WHEA_NMI_ERROR_SECTION

WHEA_PCIEXPRESS_ERROR_SECTION

WHEA_PCIXBUS_ERROR_SECTION

WHEA_PCIXDEVICE_ERROR_SECTION

WHEA_PROCESSOR_GENERIC_ERROR_SECTION

WHEA_RAW_DATA_FORMAT