mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 11:17:19 +00:00
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:
parent
c8389ae103
commit
7090d74750
|
@ -1,4 +1,5 @@
|
||||||
MODULE = vcruntime140.dll
|
MODULE = vcruntime140.dll
|
||||||
|
IMPORTS = ucrtbase
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
misc.c
|
misc.c
|
||||||
|
|
|
@ -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();
|
||||||
|
}
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue