Module: wine Branch: master Commit: 8842cd13a1e9068ac719b03730fb1f1276550ccd URL: http://source.winehq.org/git/wine.git/?a=commit;h=8842cd13a1e9068ac719b03730...
Author: Austin English austinenglish@gmail.com Date: Wed Jan 25 14:56:35 2012 -0800
wer: Add a stub for WerReportSetUIOption.
---
dlls/wer/main.c | 9 +++++++++ dlls/wer/wer.spec | 2 +- include/werapi.h | 17 +++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/dlls/wer/main.c b/dlls/wer/main.c index d68d652..ae9ab26 100644 --- a/dlls/wer/main.c +++ b/dlls/wer/main.c @@ -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; +} diff --git a/dlls/wer/wer.spec b/dlls/wer/wer.spec index bfc39e4..fe9fad7 100644 --- a/dlls/wer/wer.spec +++ b/dlls/wer/wer.spec @@ -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 diff --git a/include/werapi.h b/include/werapi.h index e8ec487..c709dad 100644 --- a/include/werapi.h +++ b/include/werapi.h @@ -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