Added patch for api-ms-win-core-delayload-l1-1-1 dll.

This commit is contained in:
Sebastian Lackner 2016-01-16 07:23:20 +01:00
parent 2d23402047
commit 1e339a28fb
3 changed files with 65 additions and 3 deletions

View File

@ -0,0 +1,57 @@
From 4535655125fb462a4a3651f3ecbfab07d35c5ba7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Fri, 15 Jan 2016 13:31:22 +0100
Subject: api-ms-win-core-delayload-l1-1-1: Add dll.
---
configure.ac | 1 +
dlls/api-ms-win-core-delayload-l1-1-1/Makefile.in | 1 +
.../api-ms-win-core-delayload-l1-1-1.spec | 3 +++
tools/make_specfiles | 1 +
4 files changed, 6 insertions(+)
create mode 100644 dlls/api-ms-win-core-delayload-l1-1-1/Makefile.in
create mode 100644 dlls/api-ms-win-core-delayload-l1-1-1/api-ms-win-core-delayload-l1-1-1.spec
diff --git a/configure.ac b/configure.ac
index 462850e..01afeda 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2700,6 +2700,7 @@ WINE_CONFIG_DLL(api-ms-win-core-datetime-l1-1-0)
WINE_CONFIG_DLL(api-ms-win-core-datetime-l1-1-1)
WINE_CONFIG_DLL(api-ms-win-core-debug-l1-1-0)
WINE_CONFIG_DLL(api-ms-win-core-debug-l1-1-1)
+WINE_CONFIG_DLL(api-ms-win-core-delayload-l1-1-1)
WINE_CONFIG_DLL(api-ms-win-core-errorhandling-l1-1-0)
WINE_CONFIG_DLL(api-ms-win-core-errorhandling-l1-1-1)
WINE_CONFIG_DLL(api-ms-win-core-errorhandling-l1-1-2)
diff --git a/dlls/api-ms-win-core-delayload-l1-1-1/Makefile.in b/dlls/api-ms-win-core-delayload-l1-1-1/Makefile.in
new file mode 100644
index 0000000..bccec10
--- /dev/null
+++ b/dlls/api-ms-win-core-delayload-l1-1-1/Makefile.in
@@ -0,0 +1 @@
+MODULE = api-ms-win-core-delayload-l1-1-1.dll
diff --git a/dlls/api-ms-win-core-delayload-l1-1-1/api-ms-win-core-delayload-l1-1-1.spec b/dlls/api-ms-win-core-delayload-l1-1-1/api-ms-win-core-delayload-l1-1-1.spec
new file mode 100644
index 0000000..fe2b354
--- /dev/null
+++ b/dlls/api-ms-win-core-delayload-l1-1-1/api-ms-win-core-delayload-l1-1-1.spec
@@ -0,0 +1,3 @@
+@ stdcall DelayLoadFailureHook(str str) kernel32.DelayLoadFailureHook
+@ stdcall ResolveDelayLoadedAPI(ptr ptr ptr ptr ptr long) kernel32.ResolveDelayLoadedAPI
+@ stub ResolveDelayLoadsFromDll
diff --git a/tools/make_specfiles b/tools/make_specfiles
index e62c2cd..05010cc 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -165,6 +165,7 @@ my @dll_groups =
"api-ms-win-core-processthreads-l1-1-0",
"api-ms-win-core-debug-l1-1-0",
"api-ms-win-core-debug-l1-1-1",
+ "api-ms-win-core-delayload-l1-1-1",
"api-ms-win-core-errorhandling-l1-1-0",
"api-ms-win-core-errorhandling-l1-1-1",
"api-ms-win-core-interlocked-l1-1-0",
--
2.6.4

View File

@ -1,6 +1,7 @@
Fixes: Add stub dlls required for MSVC 2015 runtime library (Windows 10)
Fixes: Add api-ms-win-core-com-l1-1-1 dll
Fixes: Add api-ms-win-core-quirks-l1-1-0 dll
Fixes: Add api-ms-win-core-delayload-l1-1-1 dll
Fixes: Add kernelbase dll
Depends: ole32-CoGetApartmentType
Depends: kernel32-GetFinalPathNameByHandle

View File

@ -2475,20 +2475,24 @@ fi
# |
# | Modified files:
# | * configure.ac, dlls/api-ms-win-core-com-l1-1-1/Makefile.in, dlls/api-ms-win-core-com-l1-1-1/api-ms-win-core-
# | com-l1-1-1.spec, dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in, dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-
# | quirks-l1-1-0.spec, dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec, dlls/kernelbase/Makefile.in,
# | dlls/kernelbase/kernelbase.spec, dlls/kernelbase/misc.c, dlls/ucrtbase/ucrtbase.spec, tools/make_specfiles
# | com-l1-1-1.spec, dlls/api-ms-win-core-delayload-l1-1-1/Makefile.in, dlls/api-ms-win-core-delayload-l1-1-1/api-ms-win-
# | core-delayload-l1-1-1.spec, dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in, dlls/api-ms-win-core-quirks-l1-1-0/api-ms-
# | win-core-quirks-l1-1-0.spec, dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec,
# | dlls/kernelbase/Makefile.in, dlls/kernelbase/kernelbase.spec, dlls/kernelbase/misc.c, dlls/ucrtbase/ucrtbase.spec,
# | tools/make_specfiles
# |
if test "$enable_api_ms_win_crt_Stub_DLLs" -eq 1; then
patch_apply api-ms-win-crt-Stub_DLLs/0001-ucrtbase-Hook-up-some-functions-with-new-names-to-ex.patch
patch_apply api-ms-win-crt-Stub_DLLs/0002-api-ms-win-core-com-l1-1-1-Add-dll.patch
patch_apply api-ms-win-crt-Stub_DLLs/0003-kernelbase-Add-dll-and-add-stub-for-QuirkIsEnabled.patch
patch_apply api-ms-win-crt-Stub_DLLs/0004-api-ms-win-core-quirks-l1-1-0-Add-dll.patch
patch_apply api-ms-win-crt-Stub_DLLs/0005-api-ms-win-core-delayload-l1-1-1-Add-dll.patch
(
echo '+ { "Martin Storsjo", "ucrtbase: Hook up some functions with new names to existing implementations.", 1 },';
echo '+ { "Michael Müller", "api-ms-win-core-com-l1-1-1: Add dll.", 1 },';
echo '+ { "Michael Müller", "kernelbase: Add dll and add stub for QuirkIsEnabled.", 1 },';
echo '+ { "Michael Müller", "api-ms-win-core-quirks-l1-1-0: Add dll.", 1 },';
echo '+ { "Michael Müller", "api-ms-win-core-delayload-l1-1-1: Add dll.", 1 },';
) >> "$patchlist"
fi