kernelbase: Add RaiseFailFastException stub.

Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Brendan Shanks 2022-05-06 14:41:01 -07:00 committed by Alexandre Julliard
parent 63f9a08240
commit 509877743e
3 changed files with 10 additions and 2 deletions

View file

@ -1197,7 +1197,7 @@
@ stdcall -import QueueUserAPC(ptr long long)
@ stdcall -import QueueUserWorkItem(ptr ptr long)
@ stdcall -import RaiseException(long long long ptr)
# @ stub RaiseFailFastException
@ stdcall -import RaiseFailFastException(ptr ptr long)
@ stdcall -import ReadConsoleA(long ptr long ptr ptr)
@ stdcall -import ReadConsoleInputA(long ptr long ptr)
@ stub ReadConsoleInputExA

View file

@ -303,6 +303,14 @@ void WINAPI DECLSPEC_HOTPATCH RaiseException( DWORD code, DWORD flags, DWORD cou
}
__ASM_STDCALL_IMPORT(RaiseException,16)
/*******************************************************************
* RaiseFailFastException (kernelbase.@)
*/
void WINAPI DECLSPEC_HOTPATCH RaiseFailFastException( EXCEPTION_RECORD *record, CONTEXT *context, DWORD flags )
{
FIXME( "(%p, %p, %ld) stub\n", record, context, flags );
TerminateProcess( GetCurrentProcess(), STATUS_FAIL_FAST_EXCEPTION );
}
/***********************************************************************
* SetUnhandledExceptionFilter (kernelbase.@)

View file

@ -1264,7 +1264,7 @@
# @ stub QuirkIsEnabledForPackage4
# @ stub QuirkIsEnabledForProcess
@ stdcall RaiseException(long long long ptr)
# @ stub RaiseFailFastException
@ stdcall RaiseFailFastException(ptr ptr long)
@ stdcall ReOpenFile(ptr long long long)
@ stdcall ReadConsoleA(long ptr long ptr ptr)
@ stdcall ReadConsoleInputA(long ptr long ptr)