// ntddk.h
typedef struct _WHEA_PCIXDEVICE_ERROR_SECTION {
WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS ValidBits;
WHEA_ERROR_STATUS ErrorStatus;
WHEA_PCIXDEVICE_ID IdInfo;
ULONG MemoryNumber;
ULONG IoNumber;
WHEA_PCIXDEVICE_REGISTER_PAIR RegisterDataPairs[ANYSIZE_ARRAY];
} WHEA_PCIXDEVICE_ERROR_SECTION, *PWHEA_PCIXDEVICE_ERROR_SECTION;
View the official Windows Driver Kit DDI referenceNo description available.
The WHEA_PCIXDEVICE_ERROR_SECTION structure describes PCI or PCI-X device error data.
ValidBitsA WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS union that specifies which members of this structure contain valid data.
ErrorStatusA WHEA_ERROR_STATUS structure that contains PCI or PCI-X device error status data.
This member contains valid data only if the ValidBits.ErrorStatus bit is set.
IdInfoA WHEA_PCIXDEVICE_ID structure that contains data that identifies the PCI or PCI-X device. The WHEA_PCIXDEVICE_ID structure is defined as follows:
typedef struct _WHEA_PCIXDEVICE_ID {
USHORT VendorId;
USHORT DeviceId;
ULONG ClassCode:24;
ULONG FunctionNumber:8;
ULONG DeviceNumber:8;
ULONG BusNumber:8;
ULONG SegmentNumber:8;
ULONG Reserved1:8;
ULONG Reserved2;
} WHEA_PCIXDEVICE_ID, *PWHEA_PCIXDEVICE_ID;
The vendor ID of the device.
The device ID of the device.
The class code of the device.
The function number of the device on the bus.
The device number of the device on the bus.
The number of the bus that contains the device.
The number of the bus segment that contains the device.
Reserved for system use.
Reserved for system use.
This member contains valid data only if the ValidBits.IdInfo bit is set.
MemoryNumberThe number of memory mapped register address/data pair values from the PCI device that are included in the RegisterDataPairs member.
This member contains valid data only if the ValidBits.MemoryNumber bit is set.
IoNumberThe number of I/O mapped register address/data pair values from the PCI device that are included in the RegisterDataPairs member.
This member contains valid data only if the ValidBits.IoNumber bit is set.
RegisterDataPairsAn array of WHEA_PCIXDEVICE_REGISTER_PAIR structures that contains the register address/data pair values for the PCI device. The WHEA_PCIXDEVICE_REGISTER_PAIR structure is defined as follows:
typedef struct WHEA_PCIXDEVICE_REGISTER_PAIR {
ULONGLONG Register;
ULONGLONG Data;
} WHEA_PCIXDEVICE_REGISTER_PAIR, *PWHEA_PCIXDEVICE_REGISTER_PAIR;
The address of the register.
The data contained in the register.
This member contains valid data only if the ValidBits.RegisterDataPairs bit is set.
The WHEA_PCIXDEVICE_ERROR_SECTION structure describes the error data that is contained in a PCI/PCI-X device error section of an error record. An error record contains a PCI/PCI-X device 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 PCIXBUS_ERROR_SECTION_GUID.
WHEA_ERROR_RECORD_SECTION_DESCRIPTOR
WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS