mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:12:58 +00:00
[UCRT] Make SEH blocks ReactOS PSEH compatible
This commit is contained in:
parent
7bb9f6bf28
commit
e98e9000c7
59 changed files with 98 additions and 0 deletions
|
@ -51,6 +51,7 @@ extern "C" wint_t __cdecl _getwch()
|
|||
{
|
||||
__acrt_unlock(__acrt_conio_lock);
|
||||
}
|
||||
__endtry
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -67,6 +68,7 @@ extern "C" wint_t __cdecl _getwche()
|
|||
{
|
||||
__acrt_unlock(__acrt_conio_lock);
|
||||
}
|
||||
__endtry
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -140,6 +142,7 @@ extern "C" wint_t __cdecl _getwch_nolock()
|
|||
// Restore the previous console mode:
|
||||
__dcrt_set_input_console_mode(old_console_mode);
|
||||
}
|
||||
__endtry
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -185,6 +188,7 @@ extern "C" wint_t __cdecl _ungetwch(wint_t const c)
|
|||
{
|
||||
__acrt_unlock(__acrt_conio_lock);
|
||||
}
|
||||
__endtry
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue