Rob Shearman : ole32: Use I_RpcExceptionFilter instead of custom exception filter for RPC calls.

Alexandre Julliard julliard at winehq.org
Fri Apr 11 06:28:29 CDT 2008


Module: wine
Branch: master
Commit: aa83f5a5aa5ffab8bbc25b8fb76e1dcdb5ae8a96
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=aa83f5a5aa5ffab8bbc25b8fb76e1dcdb5ae8a96

Author: Rob Shearman <rob at codeweavers.com>
Date:   Fri Apr 11 11:00:46 2008 +0100

ole32: Use I_RpcExceptionFilter instead of custom exception filter for RPC calls.

---

 dlls/ole32/moniker.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/dlls/ole32/moniker.c b/dlls/ole32/moniker.c
index 6a1c1e9..413d110 100644
--- a/dlls/ole32/moniker.c
+++ b/dlls/ole32/moniker.c
@@ -56,14 +56,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
 
 static LONG WINAPI rpc_filter(EXCEPTION_POINTERS *eptr)
 {
-    switch (eptr->ExceptionRecord->ExceptionCode)
-    {
-    case EXCEPTION_ACCESS_VIOLATION:
-    case EXCEPTION_ILLEGAL_INSTRUCTION:
-        return EXCEPTION_CONTINUE_SEARCH;
-    default:
-        return EXCEPTION_EXECUTE_HANDLER;
-    }
+    return I_RpcExceptionFilter(eptr->ExceptionRecord->ExceptionCode);
 }
 
 /* define the structure of the running object table elements */




More information about the wine-cvs mailing list