WheaErrorRecordBuilderAddSection - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddk.h

PVOID WheaErrorRecordBuilderAddSection(
  [in, out]           PWHEA_ERROR_RECORD                         Record,
  [in]                UINT32                                     MaxSectionCount,
  [in]                UINT32                                     SectionLength,
  [in]                WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS Flags,
  [in]                GUID                                       SectionType,
  [in, out, optional] PVOID                                      DescriptorOut
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddk-wheaerrorrecordbuilderaddsection)

Description

The WheaErrorRecordBuilderAddSection function finds the next section, initializes its descriptor, and returns a pointer for the caller to populate with data.

Parameters

Record [in, out]

Supplies a buffer that contains the error record data.

MaxSectionCount [in]

Defines the UINT32 parameter MaxSectionCount.

SectionLength [in]

Supplies a length for the new section to be added.

Flags [in]

Supplies the flags for the section.

SectionType [in]

Supplies the GUID to identify the section.

DescriptorOut [in, out, optional]

Supplies an optional buffer to get the section descriptor if additional information needs to be added.

Return value

A pointer to the next available space for error record information. Returns NULL if the record buffer is full.

Remarks

See also