UID | title | ms.date | tech.root | targetos | description | req.assembly | req.construct-type | req.ddi-compliance | req.dll | req.header | req.idl | req.include-header | req.irql | req.kmdf-ver | req.lib | req.max-support | req.namespace | req.redist | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.type-library | req.umdf-ver | req.unicode-ansi | topic_type | api_type | api_location | api_name | f1_keywords | dev_langs | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ntddk.WheaAddHwErrorReportSectionDeviceDriver |
WheaAddHwErrorReportSectionDeviceDriver |
04/01/2020 |
whea |
Windows |
Learn more about: WheaAddHwErrorReportSectionDeviceDriver |
function |
ntddk.h |
Windows 10, version 2004 |
|
|
|
|
|
|
This routine adds a new section to an error report, and hands the caller a buffer set that can be populated with information.
A WHEA_ERROR_HANDLE obtained from WheaCreateHwErrorReportDeviceDriver that specifies the packet that is being operated on.
A ULONG that specifies the length, in bytes, of the data to be added to the section.
A pointer to a WHEA_DRIVER_BUFFER_SET structure that will be populated with a set of buffers for the user to interact with.
Returns STATUS_SUCCESS or one of the following:
- STATUS_INVALID_HANDLE: The ErrorHandle is invalid.
- STATUS_DEVICE_REMOVED: The error source has been removed.
- STATUS_INSUFFICIENT_RESOURCES: There is not enough space for the data.
This routine can be called up to MaxSectionsPerReport times as specified in the WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER structure supplied to WheaAddErrorSourceDeviceDriver.
Also see WheaHwErrorReportSetSectionNameDeviceDriver, which is a helper function for updating the FRUText.
For more info, see Using WHEA on Windows 10.