ole32: Use I_RpcExceptionFilter instead of custom exception filter for RPC calls.
authorRob Shearman <rob@codeweavers.com>
Fri, 11 Apr 2008 10:00:46 +0000 (11:00 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 11 Apr 2008 10:13:59 +0000 (12:13 +0200)
dlls/ole32/moniker.c

index 6a1c1e96310c92e74c71a387fa8651e7ccb521c6..413d11033fde93b7f009c915a65deda3efff7914 100644 (file)
@@ -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 */