WER_REPORT_INFORMATION structure (werapi.h)
Contains Windows Error Reporting (WER) 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[64]
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[128]
The display name. If this member is empty, the default is the name specified by pwzEventType parameter of WerReportCreate.
wzApplicationName[128]
The name of the application. If this parameter is empty, the default is the base name of the image file.
wzApplicationPath[MAX_PATH]
The full path to the application.
wzDescription[512]
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | werapi.h |