NAME
WerReportCreate (WER.@)
SYNOPSIS
HRESULT WerReportCreate
(
PCWSTR eventtype,
WER_REPORT_TYPE reporttype,
PWER_REPORT_INFORMATION reportinfo,
HREPORT* phandle
)
DESCRIPTION
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".