Commit cab51a05 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Added _get_terminate implementation.

parent 03d7f527
......@@ -688,7 +688,7 @@
@ stub _get_pgmptr
@ stub _get_printf_count_output
@ stub _get_purecall_handler
@ stub _get_terminate
@ cdecl _get_terminate() msvcrt._get_terminate
@ stub _get_timezone
@ cdecl _get_tzname(ptr str long long) msvcrt._get_tzname
@ stub _get_unexpected
......
......@@ -533,7 +533,7 @@
@ stub _get_printf_count_output
@ stub _get_purecall_handler
@ cdecl _get_sbh_threshold() msvcrt._get_sbh_threshold
@ stub _get_terminate
@ cdecl _get_terminate() msvcrt._get_terminate
@ stub _get_timezone
@ cdecl _get_tzname(ptr str long long) msvcrt._get_tzname
@ stub _get_unexpected
......
......@@ -523,7 +523,7 @@
@ stub _get_printf_count_output
@ stub _get_purecall_handler
@ cdecl _get_sbh_threshold() msvcrt._get_sbh_threshold
@ stub _get_terminate
@ cdecl _get_terminate() msvcrt._get_terminate
@ stub _get_timezone
@ cdecl _get_tzname(ptr str long long) msvcrt._get_tzname
@ stub _get_unexpected
......
......@@ -1026,6 +1026,16 @@ MSVCRT_terminate_function CDECL MSVCRT_set_terminate(MSVCRT_terminate_function f
}
/******************************************************************
* _get_terminate (MSVCRT.@)
*/
MSVCRT_terminate_function CDECL MSVCRT__get_terminate(void)
{
thread_data_t *data = msvcrt_get_thread_data();
TRACE("returning %p\n", data->terminate_handler);
return data->terminate_handler;
}
/******************************************************************
* ?set_unexpected@@YAP6AXXZP6AXXZ@Z (MSVCRT.@)
*
* Install a handler to be called when unexpected() is called.
......
......@@ -481,7 +481,7 @@
# stub _get_winminor
# stub _get_winver
# stub _get_wpgmptr
@ stub _get_terminate
@ cdecl _get_terminate() MSVCRT__get_terminate
@ cdecl _get_tzname(ptr str long long) MSVCRT__get_tzname
@ stub _get_unexpected
@ cdecl _getch()
......
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