wer: Add a stub for WerReportSetUIOption.

This commit is contained in:
Austin English 2012-01-25 14:56:35 -08:00 committed by Alexandre Julliard
parent 056de6fbcf
commit 8842cd13a1
3 changed files with 27 additions and 1 deletions

View file

@ -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;
}

View file

@ -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

View file

@ -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