// ntddk.h
PWHEA_ERROR_PACKET WheaGetErrPacketFromErrRecord(
[in] PWHEA_ERROR_RECORD Record
);
View the official Windows Driver Kit DDI referenceNo description available.
The WheaGetErrPacketFromErrRecord function returns a pointer to the hardware error packet that is contained within a WHEA error record. The hardware error packet is formatted as a WHEA_ERROR_PACKET structure.
Record [in]A pointer to a WHEA error record that is formatted as a WHEA_ERROR_RECORD structure.
WheaGetErrPacketFromErrRecord returns a pointer to the WHEA_ERROR_PACKET structure within the WHEA_ERROR_RECORD structure. If the function does not locate the WHEA_ERROR_PACKET structure, it returns NULL.
The WheaGetErrPacketFromErrRecord function returns a pointer to the hardware error packet that is contained within an error record.