[PATCH] ntdll: Add RtlSetUnhandledExceptionFilter stub.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu Oct 4 23:25:32 CDT 2018


From: Andrew Wesie <awesie at gmail.com>

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45566
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/ntdll/exception.c | 5 +++++
 dlls/ntdll/ntdll.spec  | 1 +
 2 files changed, 6 insertions(+)

diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c
index f853810..f82b6b4 100644
--- a/dlls/ntdll/exception.c
+++ b/dlls/ntdll/exception.c
@@ -325,3 +325,8 @@ void __wine_spec_unimplemented_stub( const char *module, const char *function )
     record.ExceptionInformation[1] = (ULONG_PTR)function;
     for (;;) RtlRaiseException( &record );
 }
+
+void WINAPI RtlSetUnhandledExceptionFilter( void *handler )
+{
+    FIXME( "(%p) stub!\n", handler );
+}
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index b7cbff3..fbc1ac4 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -903,6 +903,7 @@
 # @ stub RtlSetThreadPoolStartFunc
 @ stdcall RtlSetTimeZoneInformation(ptr)
 # @ stub RtlSetTimer
+@ stdcall RtlSetUnhandledExceptionFilter(ptr)
 @ stub RtlSetUnicodeCallouts
 @ stub RtlSetUserFlagsHeap
 @ stub RtlSetUserValueHeap
-- 
1.9.1




More information about the wine-devel mailing list