WerReportCreate(3w)

WerReportCreate3w

Usage

HRESULT WerReportCreate
(
PCWSTR eventtype,
WER_REPORT_TYPE reporttype,
PWER_REPORT_INFORMATION reportinfo,
HREPORT* phandle
)

Overview

Create an error report in memory and return a related HANDLE.

Params

eventtype [In] a name for the event type.

reporttype [In] what type of report should be created.

reportinfo [In] NULL or a pointer to a struct with some detailed information.

phandle [Out] ptr, where the resulting handle should be saved.

Returns

Success: S_OK

Failure: A HRESULT error code.

Notes

The event type must be registered at Microsoft(tm). Predefined types are "APPCRASH" as the default on Windows, "Crash32" and "Crash64"

Implementation

Declared in "werapi.h".

Implemented in "dlls/wer/main.c".

Debug channel "wer".

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.