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®. Predefined types are "APPCRASH" as the default on Windows, "Crash32" and "Crash64"

IMPLEMENTATION

Declared in "include/werapi.h". gitlab.winehq.org/wine/wine/blob/master/include/werapi.h

Implemented in "dlls/wer/main.c". gitlab.winehq.org/wine/wine/blob/master/dlls/wer/main.c

Debug channel "wer".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.