Eric Pouech : msvcrt: Added __uncaught_exception support.
Alexandre Julliard
julliard at winehq.org
Mon Oct 5 09:54:29 CDT 2009
Module: wine
Branch: master
Commit: dcf68254bd315bf1227e8e849077189daff44971
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dcf68254bd315bf1227e8e849077189daff44971
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sat Oct 3 13:13:37 2009 +0200
msvcrt: Added __uncaught_exception support.
---
dlls/msvcr71/msvcr71.spec | 2 +-
dlls/msvcrt/except.c | 8 ++++++++
dlls/msvcrt/msvcrt.spec | 1 +
3 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcr71/msvcr71.spec b/dlls/msvcr71/msvcr71.spec
index fc693bd..7552ca3 100644
--- a/dlls/msvcr71/msvcr71.spec
+++ b/dlls/msvcr71/msvcr71.spec
@@ -30,7 +30,7 @@
@ stub ??_Fbad_typeid@@QAEXXZ
@ cdecl ??_U at YAPAXI@Z(long) msvcrt.??_U at YAPAXI@Z
@ cdecl ??_V at YAXPAX@Z(ptr) msvcrt.??_V at YAXPAX@Z
-@ stub __uncaught_exception
+@ cdecl __uncaught_exception() msvcrt.__uncaught_exception
@ cdecl ?_query_new_handler@@YAP6AHI at ZXZ() msvcrt.?_query_new_handler@@YAP6AHI at ZXZ
@ cdecl ?_query_new_mode@@YAHXZ() msvcrt.?_query_new_mode@@YAHXZ
@ cdecl ?_set_new_handler@@YAP6AHI at ZP6AHI@Z at Z(ptr) msvcrt.?_set_new_handler@@YAP6AHI at ZP6AHI@Z at Z
diff --git a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c
index 5de42db..119469b 100644
--- a/dlls/msvcrt/except.c
+++ b/dlls/msvcrt/except.c
@@ -608,3 +608,11 @@ int CDECL _XcptFilter(NTSTATUS ex, PEXCEPTION_POINTERS ptr)
/* I assume ptr->ExceptionRecord->ExceptionCode is the same as ex */
return msvcrt_exception_filter(ptr);
}
+
+/******************************************************************
+ * MSVCRT___uncaught_exception
+ */
+BOOL CDECL MSVCRT___uncaught_exception(void)
+{
+ return FALSE;
+}
diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index d143bee..ad8fa94 100644
--- a/dlls/msvcrt/msvcrt.spec
+++ b/dlls/msvcrt/msvcrt.spec
@@ -151,6 +151,7 @@
@ cdecl __threadhandle() kernel32.GetCurrentThread
@ cdecl __threadid() kernel32.GetCurrentThreadId
@ cdecl __toascii(long) MSVCRT___toascii
+@ cdecl __uncaught_exception() MSVCRT___uncaught_exception
@ cdecl __unDName(ptr str long ptr ptr long)
@ cdecl __unDNameEx(ptr str long ptr ptr ptr long)
@ extern __unguarded_readlc_active MSVCRT___unguarded_readlc_active
More information about the wine-cvs
mailing list