// ntddk.h
typedef struct _WHEA_AER_ENDPOINT_DESCRIPTOR {
USHORT Type;
BOOLEAN Enabled;
UCHAR Reserved;
ULONG BusNumber;
WHEA_PCI_SLOT_NUMBER Slot;
USHORT DeviceControl;
AER_ENDPOINT_DESCRIPTOR_FLAGS Flags;
ULONG UncorrectableErrorMask;
ULONG UncorrectableErrorSeverity;
ULONG CorrectableErrorMask;
ULONG AdvancedCapsAndControl;
} WHEA_AER_ENDPOINT_DESCRIPTOR, *PWHEA_AER_ENDPOINT_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
The WHEA_AER_ENDPOINT_DESCRIPTOR structure describes a PCI Express (PCIe) endpoint error source.
TypeThe type of error source descriptor. This member is always set to WHEA_ERROR_SOURCE_DESCRIPTOR_TYPE_AERENDPOINT.
EnabledA Boolean value that indicates if the error source is enabled.
ReservedReserved for system use.
BusNumberThe endpoint's bus number.
SlotA WHEA_PCI_SLOT_NUMBER structure that describes the logical PCI slot where the endpoint is located in the system.
DeviceControlThe contents of the endpoint's Device Control register.
FlagsAn AER_ENDPOINT_DESCRIPTOR_FLAGS union that indicates which of the members of the WHEA_AER_ENDPOINT_DESCRIPTOR structure can be written to by the operating system. The AER_ENDPOINT_DESCRIPTOR_FLAGS union is defined as follows:
typedef union _AER_ENDPOINT_DESCRIPTOR_FLAGS {
struct {
USHORT UncorrectableErrorMaskRW:1;
USHORT UncorrectableErrorSeverityRW:1;
USHORT CorrectableErrorMaskRW:1;
USHORT AdvancedCapsAndControlRW:1;
USHORT Reserved:12;
};
USHORT AsUSHORT;
} AER_ENDPOINT_DESCRIPTOR_FLAGS, *PAER_ENDPOINT_DESCRIPTOR_FLAGS
A single bit that indicates that the operating system can write to the UncorrectableErrorMask member of the WHEA_AER_ENDPOINT_DESCRIPTOR structure.
A single bit that indicates that the operating system can write to the UncorrectableErrorSeverity member of the WHEA_AER_ENDPOINT_DESCRIPTOR structure.
A single bit that indicates that the operating system can write to the CorrectableErrorMask member of the WHEA_AER_ENDPOINT_DESCRIPTOR structure.
A single bit that indicates that the operating system can write to the AdvancedCapsAndControl member of the WHEA_AER_ENDPOINT_DESCRIPTOR structure.
Reserved for system use.
A USHORT representation of the contents of the AER_ENDPOINT_DESCRIPTOR_FLAGS union.
UncorrectableErrorMaskThe contents of the endpoint's Uncorrectable Error Mask register.
UncorrectableErrorSeverityThe contents of the endpoint's Uncorrectable Error Severity register.
CorrectableErrorMaskThe contents of the endpoint's Correctable Error Mask register.
AdvancedCapsAndControlThe contents of the endpoint's Advanced Error Capabilities and Control register.
A WHEA_AER_ENDPOINT_DESCRIPTOR structure is contained within the WHEA_ERROR_SOURCE_DESCRIPTOR structure.