WER_REPORT_METADATA_V2 structure (werapi.h)

Contains information about an error report generated by Windows Error Reporting (WER).

Syntax

typedef struct _WER_REPORT_METADATA_V2 {
  WER_REPORT_SIGNATURE Signature;
  GUID                 BucketId;
  GUID                 ReportId;
  FILETIME             CreationTime;
  ULONGLONG            SizeInBytes;
  WCHAR                CabId[MAX_PATH];
  DWORD                ReportStatus;
  GUID                 ReportIntegratorId;
  DWORD                NumberOfFiles;
  DWORD                SizeOfFileNames;
  WCHAR                *FileNames;
} WER_REPORT_METADATA_V2, *PWER_REPORT_METADATA_V2;

Members

Signature

A structure containing the signature of the report. The signature consists of the event name and event parameters present.

BucketId

A hash of the signature. Can be used to cross reference with other crash reports with the same signature (currently not implemented).

ReportId

A locally unique identifier for the report.

CreationTime

A UTC time stamp of when the report was created.

SizeInBytes

The size (on disk) of the individual report and its constituent files. This value only counts files directly contained in a report.

CabId[MAX_PATH]

ReportStatus

The detailed status of the report. Use the ReportStatus decoder to track this bit-field.

ReportIntegratorId

The integrator ID of the report.

NumberOfFiles

The number of data files included in the report.

SizeOfFileNames

The total size of the file name fields, in count of WCHARs, including the terminating character for each name and one more at the end of the record.

FileNames

A pointer to hold the names of the files included in the report. It is in the format: FileName001\0FileName002\0\FileName003\0\0.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header werapi.h

See also

WerStoreQueryReportMetadataV2, Windows Error Reporting