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

msvcrt: Added _get_unexpected implementation.

parent 696ba803
......@@ -1049,6 +1049,16 @@ MSVCRT_unexpected_function CDECL MSVCRT_set_unexpected(MSVCRT_unexpected_functio
}
/******************************************************************
* _get_unexpected (MSVCRT.@)
*/
MSVCRT_unexpected_function CDECL MSVCRT__get_unexpected(void)
{
thread_data_t *data = msvcrt_get_thread_data();
TRACE("returning %p\n", data->unexpected_handler);
return data->unexpected_handler;
}
/******************************************************************
* ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z (MSVCRT.@)
*/
MSVCRT__se_translator_function CDECL MSVCRT__set_se_translator(MSVCRT__se_translator_function func)
......
......@@ -489,7 +489,7 @@
# stub _get_wpgmptr(ptr)
@ cdecl _get_terminate() MSVCRT__get_terminate
@ cdecl _get_tzname(ptr str long long) MSVCRT__get_tzname
@ stub _get_unexpected()
@ cdecl _get_unexpected() MSVCRT__get_unexpected
@ cdecl _getch()
@ cdecl _getche()
@ cdecl _getcwd(str 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