[PATCH 1/2] wer: Add a stub for WerRemoveExcludedApplication

Detlef Riekenberg wine.dev at web.de
Tue Oct 26 04:37:16 CDT 2010


---
 dlls/wer/main.c   |   20 ++++++++++++++++++++
 dlls/wer/wer.spec |    2 +-
 2 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/dlls/wer/main.c b/dlls/wer/main.c
index 740462f..3473055 100644
--- a/dlls/wer/main.c
+++ b/dlls/wer/main.c
@@ -49,3 +49,23 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 
     return TRUE;
 }
+
+/* ######################################################
+ * WerRemoveExcludedApplication (wer.@)
+ *
+ * remove an application from the exclusion list
+ *
+ * PARAMS
+ *  exeName  [i] The application name
+ *  allUsers [i] for all users (TRUE) of for the current user (FALSE)
+ *
+ * RESULTS
+ *  SUCCESS  S_OK
+ *  FAILURE  A HRESULT error code
+ *
+ */
+HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR exeName, BOOL allUsers)
+{
+    FIXME("(%s, %d) :stub\n",debugstr_w(exeName), allUsers);
+    return E_NOTIMPL;
+}
diff --git a/dlls/wer/wer.spec b/dlls/wer/wer.spec
index d240a90..b50eb47 100644
--- a/dlls/wer/wer.spec
+++ b/dlls/wer/wer.spec
@@ -62,7 +62,7 @@
 @ stub WerpSubmitReportFromStore
 @ stub WerpSvcReportFromMachineQueue
 @ stdcall WerAddExcludedApplication(wstr long)
-@ stub WerRemoveExcludedApplication
+@ stdcall WerRemoveExcludedApplication(wstr long)
 @ stub WerReportAddDump
 @ stub WerReportAddFile
 @ stub WerReportCloseHandle
-- 
1.7.1




More information about the wine-patches mailing list