Reference

WerReportSubmit(3w)

NAME

WerReportSubmit (WER.@)

SYNOPSIS

HRESULT WerReportSubmit
(
HREPORT hreport,
WER_CONSENT consent,
DWORD flags,
PWER_SUBMIT_RESULT presult
)

DESCRIPTION

Ask the user for permission and send the error report then kill or restart the application, when requested.

PARAMS

hreport [In] error reporting handle to send.

consent [In] current transmit permission.

flags [In] flag to select dialog, transmission snd restart options.

presult [Out] ptr, where the transmission result should be saved.

RETURNS

Success: S_OK

Failure: A HRESULT error code

IMPLEMENTATION

Declared in "werapi.h".

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

Debug channel "wer".