WER_REPORT_INFORMATION structure (werapi.h)

Contains information used by the WerReportCreate function.

Syntax

typedef struct _WER_REPORT_INFORMATION {
  DWORD  dwSize;
  HANDLE hProcess;
  WCHAR  wzConsentKey[64];
  WCHAR  wzFriendlyEventName[128];
  WCHAR  wzApplicationName[128];
  WCHAR  wzApplicationPath[MAX_PATH];
  WCHAR  wzDescription[512];
  HWND   hwndParent;
} WER_REPORT_INFORMATION, *PWER_REPORT_INFORMATION;

Members

dwSize

The size of this structure, in bytes.

hProcess

A handle to the process for which the report is being generated. If this member is NULL, this is the calling process.

wzConsentKey

The name used to look up consent settings. If this member is empty, the default is the name specified by the pwzEventType parameter of WerReportCreate.

wzFriendlyEventName

The display name. If this member is empty, the default is the name specified by pwzEventType parameter of WerReportCreate.

wzApplicationName

The name of the application. If this parameter is empty, the default is the base name of the image file.

wzApplicationPath

The full path to the application.

wzDescription

A description of the problem. This description is displayed in Problem Reports and Solutions on Windows Vista or the problem reports pane of the Action Center on Windows 7.

hwndParent

A handle to the parent window.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header werapi.h

See also

WerReportCreate