// ntddk.h
typedef struct _WHEA_DRIVER_BUFFER_SET {
ULONG Version;
PUCHAR Data;
ULONG DataSize;
LPGUID SectionTypeGuid;
PUCHAR SectionFriendlyName;
PUCHAR Flags;
} WHEA_DRIVER_BUFFER_SET, *PWHEA_DRIVER_BUFFER_SET;
View the official Windows Driver Kit DDI referenceNo description available.
This structure stores WHEA error report data.
VersionNot currently used.
DataA pointer to a buffer containing data to be added to the body of the section.
DataSizeLength, in bytes, of buffer specified by Data. Must be equal to SectionDataLength specified in WheaAddHwErrorReportSectionDeviceDriver.
SectionTypeGuidA GUID used in the header of the section for differentiation, and by tools like Dumprec for parsing records.
SectionFriendlyNamePointer to a string containing a human readable name added to the header information.
FlagsNot currently used.
WheaAddHwErrorReportSectionDeviceDriver takes as a parameter a pointer to a structure of this type. Upon success, it stores data in the structure.