msvcrt: Added _get_terminate implementation.

This commit is contained in:
Piotr Caban 2010-12-01 21:14:23 +01:00 committed by Alexandre Julliard
parent 03d7f527cf
commit cab51a0546
5 changed files with 14 additions and 4 deletions

View file

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

View file

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

View file

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

View file

@ -1025,6 +1025,16 @@ MSVCRT_terminate_function CDECL MSVCRT_set_terminate(MSVCRT_terminate_function f
return previous;
}
/******************************************************************
* _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.@)
*

View file

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