vcruntime140: Add __uncaught_exceptions implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2018-09-12 14:45:56 +02:00 committed by Alexandre Julliard
parent c8389ae103
commit 7090d74750
3 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,5 @@
MODULE = vcruntime140.dll MODULE = vcruntime140.dll
IMPORTS = ucrtbase
C_SRCS = \ C_SRCS = \
misc.c misc.c

View file

@ -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(
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();
}

View file

@ -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)