From 9ebbbcfc9f0eb74481d0e51a933323a1882b2f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Fri, 4 Apr 2014 07:15:16 +0200 Subject: [PATCH] Add stub for RtlInstallFunctionTableCallback --- ...Stub-RtlInstallFunctionTableCallback.patch | 46 +++++++++++++++++++ .../6528a473-8246-49d5-b63c-b47d66b85a74.def | 3 ++ patches/patch-list.patch | 3 +- 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 patches/98-Miscellaneous/0001-ntdll-Stub-RtlInstallFunctionTableCallback.patch create mode 100644 patches/98-Miscellaneous/6528a473-8246-49d5-b63c-b47d66b85a74.def diff --git a/patches/98-Miscellaneous/0001-ntdll-Stub-RtlInstallFunctionTableCallback.patch b/patches/98-Miscellaneous/0001-ntdll-Stub-RtlInstallFunctionTableCallback.patch new file mode 100644 index 00000000..12b90187 --- /dev/null +++ b/patches/98-Miscellaneous/0001-ntdll-Stub-RtlInstallFunctionTableCallback.patch @@ -0,0 +1,46 @@ +From dab7a4a879b718afa79f0b1f1f90c5868277d8a8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Sun, 23 Mar 2014 23:17:51 +0100 +Subject: ntdll: Stub RtlInstallFunctionTableCallback + +--- + dlls/ntdll/ntdll.spec | 1 + + dlls/ntdll/signal_x86_64.c | 10 ++++++++++ + 2 files changed, 11 insertions(+) + +diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec +index 3c751ea..df79ed0 100644 +--- a/dlls/ntdll/ntdll.spec ++++ b/dlls/ntdll/ntdll.spec +@@ -689,6 +689,7 @@ + # @ stub RtlInitializeStackTraceDataBase + @ stub RtlInsertElementGenericTable + # @ stub RtlInsertElementGenericTableAvl ++@ cdecl -arch=x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr ptr) + @ stdcall RtlInt64ToUnicodeString(int64 long ptr) + @ stdcall RtlIntegerToChar(long long long ptr) + @ stdcall RtlIntegerToUnicodeString(long long ptr) +diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c +index b28cb99..bd7f2d7 100644 +--- a/dlls/ntdll/signal_x86_64.c ++++ b/dlls/ntdll/signal_x86_64.c +@@ -2534,6 +2534,16 @@ BOOLEAN CDECL RtlDeleteFunctionTable( RUNTIME_FUNCTION *table ) + + + /********************************************************************** ++ * RtlInstallFunctionTableCallback (NTDLL.@) ++ */ ++BOOLEAN CDECL RtlInstallFunctionTableCallback( DWORD64 table, DWORD64 base, DWORD length, PVOID callback, PVOID context, PCWSTR dll ) ++{ ++ FIXME( "%lx %lx %d %p %p %s: stub\n", table, base, length, callback, context, wine_dbgstr_w(dll) ); ++ return TRUE; ++} ++ ++ ++/********************************************************************** + * RtlLookupFunctionEntry (NTDLL.@) + */ + PRUNTIME_FUNCTION WINAPI RtlLookupFunctionEntry( ULONG64 pc, ULONG64 *base, UNWIND_HISTORY_TABLE *table ) +-- +1.8.3.2 + diff --git a/patches/98-Miscellaneous/6528a473-8246-49d5-b63c-b47d66b85a74.def b/patches/98-Miscellaneous/6528a473-8246-49d5-b63c-b47d66b85a74.def new file mode 100644 index 00000000..0ad7f51a --- /dev/null +++ b/patches/98-Miscellaneous/6528a473-8246-49d5-b63c-b47d66b85a74.def @@ -0,0 +1,3 @@ +Revision: 1 +Author: Michael Müller +Title: Add stub for RtlInstallFunctionTableCallback diff --git a/patches/patch-list.patch b/patches/patch-list.patch index 7207cffc..c5ef03cd 100644 --- a/patches/patch-list.patch +++ b/patches/patch-list.patch @@ -37,7 +37,7 @@ diff --git a/libs/wine/config.c b/libs/wine/config.c index a273502..5fa0cd5 100644 --- a/libs/wine/config.c +++ b/libs/wine/config.c -@@ -478,6 +478,38 @@ const char *wine_get_version(void) +@@ -478,6 +478,39 @@ const char *wine_get_version(void) return PACKAGE_VERSION; } @@ -61,6 +61,7 @@ index a273502..5fa0cd5 100644 + { "0b21d7ac-0387-4493-aa38-fbafe3e749f5:1", "Michael Müller", "Decrease minimum SetTimer interval from 15 to 5 ms." }, + { "19835498-8d90-4673-867e-2376af4d7c76:1", "Sebastian Lackner", "Allow to set wined3d strictDrawOrdering via environment variable." }, + { "59bd38b7-bbdc-4cfd-9ccd-1c72c4ed84c0:1", "Sebastian Lackner", "Implement X11DRV_FLUSH_GDI_DISPLAY ExtEscape command." }, ++ { "6528a473-8246-49d5-b63c-b47d66b85a74:1", "Michael Müller", "Add stub for RtlInstallFunctionTableCallback" }, + { "acff3012-0f75-4710-9941-08b5ce4c61f3:1", "Erich E. Hoover", "wined3d: Silence repeated resource_check_usage FIXME." }, + { "eec5dea8-879d-417b-9f97-364deaae6576:1", "Sebastian Lackner", "Add tests for IVMRMonitorConfig." }, + { "e46b26df-3c1b-419c-9579-f0d1e1c50bea:1", "Sebastian Lackner", "Workaround for broken implementation of shlwapi url functions." },