// ntddk.h
PVOID WheaErrorRecordBuilderAddPacket(
[in, out] PWHEA_ERROR_RECORD Record,
[in, out] PWHEA_ERROR_PACKET_V2 Packet,
[in] UINT32 MaxSectionCount
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine adds a packet into an error record.
Record [in, out]Supplies a buffer for error record data.
Packet [in, out]Supplies a buffer holding the error packet data.
MaxSectionCount [in]Defines the UINT32 parameter MaxSectionCount.
Returns a pointer to the added section. Returns NULL if not added.