WHEA_ERROR_PACKET
Starting with the Windows 7 Windows Driver Kit (WDK), WHEA_ERROR_PACKET is a macro that, depending on the build target, references the following structures:
WHEA_ERROR_PACKET_V1
This is the WHEA error packet structure that is supported in Windows Vista SP1 and Windows Server 2008.WHEA_ERROR_PACKET_V2
This is the WHEA error packet structure that is supported in Windows 7 and later versions of Windows.
If your platform-specific hardware error driver (PSHED) plug-ins run on any WHEA-compatible Windows version, your code should inspect the version of WHEA_ERROR_PACKET by following these steps:
If the Signature member for the WHEA_ERROR_PACKET equals WHEA_ERROR_PACKET_V1, the code is running on Windows Vista SP1 or Windows Server 2008. The error packet is formatted as a WHEA_ERROR_PACKET_V1 structure.
If the Signature member for the WHEA_ERROR_PACKET equals WHEA_ERROR_PACKET_V2, the code is running on Windows 7 or later versions of Windows. The error packet is formatted as a WHEA_ERROR_PACKET_V2 structure.