Commit 8842cd13 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

wer: Add a stub for WerReportSetUIOption.

parent 056de6fb
......@@ -348,3 +348,12 @@ HRESULT WINAPI WerReportSubmit(HREPORT hreport, WER_CONSENT consent, DWORD flags
*presult = WerDisabled;
return E_NOTIMPL;
}
/***********************************************************************
* WerReportSetUIOption (wer.@)
*/
HRESULT WINAPI WerReportSetUIOption(HREPORT hreport, WER_REPORT_UI uitype, PCWSTR value)
{
FIXME("(%p, %d, %s) :stub\n", hreport, uitype, debugstr_w(value));
return E_NOTIMPL;
}
......@@ -68,7 +68,7 @@
@ stdcall WerReportCloseHandle(ptr)
@ stdcall WerReportCreate(wstr long ptr ptr)
@ stdcall WerReportSetParameter(ptr long wstr wstr)
@ stub WerReportSetUIOption
@ stdcall WerReportSetUIOption(ptr long wstr)
@ stdcall WerReportSubmit(ptr long long ptr)
@ stub WerpGetReportConsent
@ stub WerpIsDisabled
......
......@@ -121,6 +121,22 @@ typedef enum _WER_DUMP_TYPE
WerDumpTypeMax
} WER_DUMP_TYPE;
typedef enum _WER_REPORT_UI
{
WerUIAdditionalDataDlgHeader = 1,
WerUIIconFilePath = 2,
WerUIConsentDlgHeader = 3,
WerUIConsentDlgBody = 4,
WerUIOnlineSolutionCheckText = 5,
WerUIOfflineSolutionCheckText = 6,
WerUICloseText = 7,
WerUICloseDlgHeader = 8,
WerUICloseDlgBody = 9,
WerUICloseDlgButtonText = 10,
WerUICustomActionButtonText = 11,
WerUIMax
} WER_REPORT_UI;
/* #### */
typedef struct _WER_DUMP_CUSTOM_OPTIONS
......@@ -153,6 +169,7 @@ HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR, BOOL);
HRESULT WINAPI WerReportCloseHandle(HREPORT);
HRESULT WINAPI WerReportCreate(PCWSTR, WER_REPORT_TYPE, PWER_REPORT_INFORMATION, HREPORT*);
HRESULT WINAPI WerReportSetParameter(HREPORT, DWORD, PCWSTR, PCWSTR);
HRESULT WINAPI WerReportSetUIOption(HREPORT, WER_REPORT_UI, PCWSTR);
HRESULT WINAPI WerReportSubmit(HREPORT, WER_CONSENT, DWORD, PWER_SUBMIT_RESULT);
#ifdef __cplusplus
......
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