WheaHwErrorReportSetSectionNameDeviceDriver - NtDoc

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

NTSTATUS WheaHwErrorReportSetSectionNameDeviceDriver(
  PWHEA_DRIVER_BUFFER_SET BufferSet,
  ULONG                   NameLength,
  PUCHAR                  Name
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

Description

This is a helper function for updating the FRUText field of the WHEA_ERROR_RECORD_SECTION_DESCRIPTOR structure.

Parameters

BufferSet

Pointer to the buffer set received from WheaAddHwErrorReportSectionDeviceDriver.

NameLength

Length of the supplied string.

Name

Pointer to a string with which to populate the FRUText section.

Return value

Return STATUS_SUCCESS or an error code.

Remarks

Sections in a Common Platform Error Record (CPER) have Field Replaceable Unit (FRU) text, or FRUText. For details on CPER, see Error Records.

First call WheaAddHwErrorReportSectionDeviceDriver.

Then call this function with the buffer set from WheaAddHwErrorReportSectionDeviceDriver, along with a string and its length and it will populate the FRUText field of WHEA_ERROR_RECORD_SECTION_DESCRIPTOR with the string.

See also