wine-staging/patches/ntdll-RtlAddGrowableFunctionTable/0002-ntdll-Add-RtlGrowFunctionTable-stub.patch
2018-11-19 09:00:30 +11:00

87 lines
2.8 KiB
Diff

From 31ac411774a34b84726b1a0f6bffae2cb8d9f15a Mon Sep 17 00:00:00 2001
From: Alex Henrie <alexhenrie24@gmail.com>
Date: Wed, 24 Jan 2018 22:27:52 -0700
Subject: [PATCH] ntdll: Add RtlGrowFunctionTable stub
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
dlls/ntdll/ntdll.spec | 1 +
dlls/ntdll/signal_arm.c | 8 ++++++++
dlls/ntdll/signal_arm64.c | 8 ++++++++
dlls/ntdll/signal_x86_64.c | 9 +++++++++
4 files changed, 26 insertions(+)
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 4fa9c7d..85897b1 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -684,6 +684,7 @@
@ stdcall RtlGetUnloadEventTraceEx(ptr ptr ptr)
@ stub RtlGetUserInfoHeap
@ stdcall RtlGetVersion(ptr)
+@ stdcall -arch=arm,arm64,x86_64 RtlGrowFunctionTable(ptr long)
@ stub RtlGuidToPropertySetName
@ stdcall RtlHashUnicodeString(ptr long long ptr)
@ stdcall RtlIdentifierAuthoritySid(ptr)
diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c
index f5b9a64..41bbdb7 100644
--- a/dlls/ntdll/signal_arm.c
+++ b/dlls/ntdll/signal_arm.c
@@ -1069,6 +1069,14 @@ DWORD WINAPI RtlAddGrowableFunctionTable( void **table, RUNTIME_FUNCTION *functi
return S_OK;
}
+/*************************************************************************
+ * RtlGrowFunctionTable (NTDLL.@)
+ */
+void WINAPI RtlGrowFunctionTable( void *table, DWORD count )
+{
+ FIXME( "(%p, %d) stub!\n", table, count );
+}
+
/**********************************************************************
* RtlDeleteFunctionTable (NTDLL.@)
*/
diff --git a/dlls/ntdll/signal_arm64.c b/dlls/ntdll/signal_arm64.c
index 9e113ed..8e99e7e 100644
--- a/dlls/ntdll/signal_arm64.c
+++ b/dlls/ntdll/signal_arm64.c
@@ -987,6 +987,14 @@ DWORD WINAPI RtlAddGrowableFunctionTable( void **table, RUNTIME_FUNCTION *functi
return S_OK;
}
+/*************************************************************************
+ * RtlGrowFunctionTable (NTDLL.@)
+ */
+void WINAPI RtlGrowFunctionTable( void *table, DWORD count )
+{
+ FIXME( "(%p, %d) stub!\n", table, count );
+}
+
/**********************************************************************
* RtlDeleteFunctionTable (NTDLL.@)
*/
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
index a6934ba..848b9a0 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -3518,6 +3518,15 @@ DWORD WINAPI RtlAddGrowableFunctionTable( void **table, RUNTIME_FUNCTION *functi
}
+/*************************************************************************
+ * RtlGrowFunctionTable (NTDLL.@)
+ */
+void WINAPI RtlGrowFunctionTable( void *table, DWORD count )
+{
+ FIXME( "(%p, %d) stub!\n", table, count );
+}
+
+
/**********************************************************************
* RtlDeleteFunctionTable (NTDLL.@)
*/
--
1.9.1