WheaGetErrPacketFromErrRecord function (ntddk.h)
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.
Syntax
PWHEA_ERROR_PACKET WheaGetErrPacketFromErrRecord(
[in] PWHEA_ERROR_RECORD Record
);
Parameters
[in] Record
A pointer to a WHEA error record that is formatted as a WHEA_ERROR_RECORD structure.
Return value
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.
Remarks
The WheaGetErrPacketFromErrRecord function returns a pointer to the hardware error packet that is contained within an error record.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in Windows Server 2008, Windows Vista SP1, and later versions of Windows. |
Target Platform | Desktop |
Header | ntddk.h (include Ntddk.h) |
IRQL | <=DISPATCH_LEVEL |