Commit 6f542163 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

wer: Add a stub for WerReportSubmit.

parent d7ed7549
...@@ -291,3 +291,31 @@ HRESULT WINAPI WerReportSetParameter(HREPORT hreport, DWORD id, PCWSTR name, PCW ...@@ -291,3 +291,31 @@ HRESULT WINAPI WerReportSetParameter(HREPORT hreport, DWORD id, PCWSTR name, PCW
return E_NOTIMPL; return E_NOTIMPL;
} }
/***********************************************************************
* WerReportSubmit (wer.@)
*
* Ask the user for permission and send the error report
* then kill or restart the application, when requested
*
* PARAMS
* hreport [i] error reporting handle to send
* consent [i] current transmit permission
* flags [i] flag to select dialog, transmission snd restart options
* presult [o] ptr, where the transmission result should be saved
*
* RETURNS
* Success: S_OK
* Failure: A HRESULT error code
*
*/
HRESULT WINAPI WerReportSubmit(HREPORT hreport, WER_CONSENT consent, DWORD flags, PWER_SUBMIT_RESULT presult)
{
FIXME("(%p, %d, 0x%x, %p) :stub\n", hreport, consent, flags, presult);
if(!presult)
return E_INVALIDARG;
*presult = WerDisabled;
return E_NOTIMPL;
}
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
@ stdcall WerReportCreate(wstr long ptr ptr) @ stdcall WerReportCreate(wstr long ptr ptr)
@ stdcall WerReportSetParameter(ptr long wstr wstr) @ stdcall WerReportSetParameter(ptr long wstr wstr)
@ stub WerReportSetUIOption @ stub WerReportSetUIOption
@ stub WerReportSubmit @ stdcall WerReportSubmit(ptr long long ptr)
@ stub WerpGetReportConsent @ stub WerpGetReportConsent
@ stub WerpIsDisabled @ stub WerpIsDisabled
@ stub WerpOpenUserQueue @ stub WerpOpenUserQueue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment