Module: wine Branch: master Commit: a016d7b335aaca7aba15df4752944ea00cf68ec6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a016d7b335aaca7aba15df4752...
Author: Rob Shearman rob@codeweavers.com Date: Fri Nov 30 18:09:01 2007 +0000
rpcrt4: Handle all non-continuable exceptions in CStdStubBuffer_Invoke.
---
dlls/rpcrt4/cstub.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/cstub.c b/dlls/rpcrt4/cstub.c index c81408d..b04c494 100644 --- a/dlls/rpcrt4/cstub.c +++ b/dlls/rpcrt4/cstub.c @@ -41,7 +41,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
static WINE_EXCEPTION_FILTER(stub_filter) { - if (GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION) + if (GetExceptionInformation()->ExceptionRecord->ExceptionFlags & EXCEPTION_NONCONTINUABLE) return EXCEPTION_CONTINUE_SEARCH; return EXCEPTION_EXECUTE_HANDLER; }