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(
  PWHEA_ERROR_RECORD Record
);

Parameters

Record

[in] 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

   
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

See also

Error record

WHEA_ERROR_PACKET

WHEA_ERROR_RECORD