WER_REPORT_METADATA_V3 structure (werapi.h)

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

Syntax

typedef struct _WER_REPORT_METADATA_V3 {
  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;
  WCHAR                FriendlyEventName[WER_MAX_FRIENDLY_EVENT_NAME_LENGTH];
  WCHAR                ApplicationName[WER_MAX_APPLICATION_NAME_LENGTH];
  WCHAR                ApplicationPath[MAX_PATH];
  WCHAR                Description[WER_MAX_DESCRIPTION_LENGTH];
  WCHAR                BucketIdString[WER_MAX_BUCKET_ID_STRING_LENGTH];
  ULONGLONG            LegacyBucketId;
} WER_REPORT_METADATA_V3, *PWER_REPORT_METADATA_V3;

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]

The cab identity value assigned by WER. Use this value to find the corresponding data in COSMOS/WER. Reports that have not uploaded successfully will not have this value.

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.

FriendlyEventName[WER_MAX_FRIENDLY_EVENT_NAME_LENGTH]

ApplicationName[WER_MAX_APPLICATION_NAME_LENGTH]

ApplicationPath[MAX_PATH]

Description[WER_MAX_DESCRIPTION_LENGTH]

BucketIdString[WER_MAX_BUCKET_ID_STRING_LENGTH]

LegacyBucketId

Requirements

Requirement Value
Header werapi.h

See also

Windows Error Reporting