msvcrt: Added _get_unexpected implementation.

This commit is contained in:
Piotr Caban 2011-05-24 17:23:43 +02:00 committed by Alexandre Julliard
parent 696ba80347
commit e253e526fc
2 changed files with 11 additions and 1 deletions

View file

@ -1048,6 +1048,16 @@ MSVCRT_unexpected_function CDECL MSVCRT_set_unexpected(MSVCRT_unexpected_functio
return previous;
}
/******************************************************************
* _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.@)
*/

View file

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