Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WheaErrorRecordBuilderAddPacket function (ntddk.h)

This routine adds a packet into an error record.

Syntax

PVOID WheaErrorRecordBuilderAddPacket(
 [in, out] PWHEA_ERROR_RECORD Record,
 [in, out] PWHEA_ERROR_PACKET_V2 Packet,
 [in] UINT32 MaxSectionCount
);

Parameters

[in, out] Record

Supplies a buffer for error record data.

[in, out] Packet

Supplies a buffer holding the error packet data.

[in] MaxSectionCount

Defines the UINT32 parameter MaxSectionCount.

Return value

Returns a pointer to the added section. Returns NULL if not added.

Requirements

Requirement Value
Minimum supported client Windows 11, version 22H2
Header ntddk.h

Feedback

Was this page helpful?

Additional resources