Austin English : msvcr110: Forward __crtSetUnhandledExceptionFilter to kernel32. SetUnhandledExceptionFilter.

Alexandre Julliard julliard at winehq.org
Thu Apr 18 13:57:25 CDT 2013


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Apr 18 00:59:58 2013 -0700

msvcr110: Forward __crtSetUnhandledExceptionFilter to kernel32.SetUnhandledExceptionFilter.

---

 dlls/msvcr110/msvcr110.c    |    5 +++++
 dlls/msvcr110/msvcr110.spec |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcr110/msvcr110.c b/dlls/msvcr110/msvcr110.c
index ba943b0..1049e2a 100644
--- a/dlls/msvcr110/msvcr110.c
+++ b/dlls/msvcr110/msvcr110.c
@@ -39,3 +39,8 @@ BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
     }
     return TRUE;
 }
+
+LPTOP_LEVEL_EXCEPTION_FILTER CDECL MSVCR110__crtSetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER filter)
+{
+    return SetUnhandledExceptionFilter(filter);
+}
diff --git a/dlls/msvcr110/msvcr110.spec b/dlls/msvcr110/msvcr110.spec
index 29c7186..40f1470 100644
--- a/dlls/msvcr110/msvcr110.spec
+++ b/dlls/msvcr110/msvcr110.spec
@@ -928,7 +928,7 @@
 @ stub -arch=i386,win64 __crtLCMapStringEx
 @ cdecl __crtLCMapStringW(long long wstr long ptr long long long) msvcrt.__crtLCMapStringW
 @ stub -arch=i386,win64 __crtSetThreadStackGuarantee
-@ stub __crtSetUnhandledExceptionFilter
+@ cdecl __crtSetUnhandledExceptionFilter(ptr) MSVCR110__crtSetUnhandledExceptionFilter
 @ stub -arch=i386,win64 __crtTerminateProcess
 @ stub -arch=i386,win64 __crtUnhandledException
 @ cdecl __daylight() msvcrt.__daylight




More information about the wine-cvs mailing list