Commit 7090d747 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

vcruntime140: Add __uncaught_exceptions implementation.

parent c8389ae1
MODULE = vcruntime140.dll MODULE = vcruntime140.dll
IMPORTS = ucrtbase
C_SRCS = \ C_SRCS = \
misc.c misc.c
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(vcruntime); WINE_DEFAULT_DEBUG_CHANNEL(vcruntime);
int* CDECL __processing_throw(void);
/********************************************************************* /*********************************************************************
* __telemetry_main_invoke_trigger * __telemetry_main_invoke_trigger
*/ */
...@@ -47,3 +49,8 @@ BOOL CDECL __vcrt_InitializeCriticalSectionEx( ...@@ -47,3 +49,8 @@ BOOL CDECL __vcrt_InitializeCriticalSectionEx(
TRACE("(%p %x %x)\n", cs, spin_count, flags); TRACE("(%p %x %x)\n", cs, spin_count, flags);
return InitializeCriticalSectionEx(cs, spin_count, flags); return InitializeCriticalSectionEx(cs, spin_count, flags);
} }
int __cdecl __uncaught_exceptions(void)
{
return *__processing_throw();
}
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
@ cdecl __unDName(ptr str long ptr ptr long) ucrtbase.__unDName @ cdecl __unDName(ptr str long ptr ptr long) ucrtbase.__unDName
@ cdecl __unDNameEx(ptr str long ptr ptr ptr long) ucrtbase.__unDNameEx @ cdecl __unDNameEx(ptr str long ptr ptr ptr long) ucrtbase.__unDNameEx
@ cdecl __uncaught_exception() ucrtbase.__uncaught_exception @ cdecl __uncaught_exception() ucrtbase.__uncaught_exception
@ stub __uncaught_exceptions @ cdecl __uncaught_exceptions()
@ stub __vcrt_GetModuleFileNameW @ stub __vcrt_GetModuleFileNameW
@ stub __vcrt_GetModuleHandleW @ stub __vcrt_GetModuleHandleW
@ cdecl __vcrt_InitializeCriticalSectionEx(ptr long long) @ cdecl __vcrt_InitializeCriticalSectionEx(ptr long long)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment