WheaErrorRecordBuilderAddPacket 函数 (ntddk.h)
此例程将数据包添加到错误记录中。
语法
PVOID WheaErrorRecordBuilderAddPacket(
[in, out] PWHEA_ERROR_RECORD Record,
[in, out] PWHEA_ERROR_PACKET_V2 Packet,
[in] UINT32 MaxSectionCount
);
参数
[in, out] Record
为错误记录数据提供缓冲区。
[in, out] Packet
提供保存错误数据包数据的缓冲区。
[in] MaxSectionCount
MaxSectionCount定义 UINT32 参数。
返回值
返回指向已添加节的指针。 如果未添加,则返回 NULL。
要求
要求 | 价值 |
---|---|
最低支持的客户端 | Windows 11 版本 22H2 |
标头 | ntddk.h |