diff --git a/patches/api-ms-win-Stub_DLLs/0010-api-ms-win-core-heap-l2-1-0-Add-dll.patch b/patches/api-ms-win-Stub_DLLs/0010-api-ms-win-core-heap-l2-1-0-Add-dll.patch new file mode 100644 index 00000000..30cd2034 --- /dev/null +++ b/patches/api-ms-win-Stub_DLLs/0010-api-ms-win-core-heap-l2-1-0-Add-dll.patch @@ -0,0 +1,61 @@ +From d8b9e665f8ec796e7232700e0cc9df5b6b945c77 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Sat, 16 Jan 2016 20:03:48 +0100 +Subject: api-ms-win-core-heap-l2-1-0: Add dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-heap-l2-1-0/Makefile.in | 1 + + dlls/api-ms-win-core-heap-l2-1-0/api-ms-win-core-heap-l2-1-0.spec | 7 +++++++ + tools/make_specfiles | 1 + + 4 files changed, 10 insertions(+) + create mode 100644 dlls/api-ms-win-core-heap-l2-1-0/Makefile.in + create mode 100644 dlls/api-ms-win-core-heap-l2-1-0/api-ms-win-core-heap-l2-1-0.spec + +diff --git a/configure.ac b/configure.ac +index 36d95c9..4fe0992 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2645,6 +2645,7 @@ WINE_CONFIG_DLL(api-ms-win-core-file-l2-1-1) + WINE_CONFIG_DLL(api-ms-win-core-handle-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-heap-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-heap-l1-2-0) ++WINE_CONFIG_DLL(api-ms-win-core-heap-l2-1-0) + WINE_CONFIG_DLL(api-ms-win-core-heap-obsolete-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-interlocked-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-interlocked-l1-2-0) +diff --git a/dlls/api-ms-win-core-heap-l2-1-0/Makefile.in b/dlls/api-ms-win-core-heap-l2-1-0/Makefile.in +new file mode 100644 +index 0000000..3caed9e +--- /dev/null ++++ b/dlls/api-ms-win-core-heap-l2-1-0/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-heap-l2-1-0.dll +diff --git a/dlls/api-ms-win-core-heap-l2-1-0/api-ms-win-core-heap-l2-1-0.spec b/dlls/api-ms-win-core-heap-l2-1-0/api-ms-win-core-heap-l2-1-0.spec +new file mode 100644 +index 0000000..81308d2 +--- /dev/null ++++ b/dlls/api-ms-win-core-heap-l2-1-0/api-ms-win-core-heap-l2-1-0.spec +@@ -0,0 +1,7 @@ ++@ stdcall GlobalAlloc(long long) kernel32.GlobalAlloc ++@ stdcall GlobalFree(long) kernel32.GlobalFree ++@ stdcall LocalAlloc(long long) kernel32.LocalAlloc ++@ stdcall LocalFree(long) kernel32.LocalFree ++@ stdcall LocalLock(long) kernel32.LocalLock ++@ stdcall LocalReAlloc(long long long) kernel32.LocalReAlloc ++@ stdcall LocalUnlock(long) kernel32.LocalUnlock +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 03e753f..d945fbe 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -185,6 +185,7 @@ my @dll_groups = + "api-ms-win-core-handle-l1-1-0", + "api-ms-win-core-heap-l1-1-0", + "api-ms-win-core-heap-l1-2-0", ++ "api-ms-win-core-heap-l2-1-0", + "api-ms-win-core-heap-obsolete-l1-1-0", + "api-ms-win-core-io-l1-1-1", + "api-ms-win-core-kernel32-legacy-l1-1-0", +-- +2.6.4 + diff --git a/patches/api-ms-win-Stub_DLLs/definition b/patches/api-ms-win-Stub_DLLs/definition index a801c05a..4daa1c2d 100644 --- a/patches/api-ms-win-Stub_DLLs/definition +++ b/patches/api-ms-win-Stub_DLLs/definition @@ -6,6 +6,7 @@ Fixes: Add api-ms-win-appmodel-runtime-l1-1-1 dll Fixes: Add api-ms-win-core-apiquery-l1-1-0 dll Fixes: Add api-ms-win-core-libraryloader-l1-2-0 dll Fixes: Add api-ms-win-core-kernel32-legacy-l1-1-1 dll +Fixes: Add api-ms-win-core-heap-l2-1-0 dll Fixes: Add kernelbase dll Depends: ole32-CoGetApartmentType Depends: kernel32-GetFinalPathNameByHandle diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index b118b473..132b03c9 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -2498,7 +2498,8 @@ fi # | appmodel-runtime-l1-1-1.spec, dlls/api-ms-win-core-apiquery-l1-1-0/Makefile.in, dlls/api-ms-win-core-apiquery-l1-1-0 # | /api-ms-win-core-apiquery-l1-1-0.spec, 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-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-kernel32-legacy-l1-1-1/Makefile.in, dlls/api-ms-win-core- +# | /api-ms-win-core-delayload-l1-1-1.spec, dlls/api-ms-win-core-heap-l2-1-0/Makefile.in, dlls/api-ms-win-core-heap-l2-1-0 +# | /api-ms-win-core-heap-l2-1-0.spec, dlls/api-ms-win-core-kernel32-legacy-l1-1-1/Makefile.in, dlls/api-ms-win-core- # | kernel32-legacy-l1-1-1/api-ms-win-core-kernel32-legacy-l1-1-1.spec, dlls/api-ms-win-core- # | libraryloader-l1-2-0/Makefile.in, dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.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, @@ -2515,6 +2516,7 @@ if test "$enable_api_ms_win_Stub_DLLs" -eq 1; then patch_apply api-ms-win-Stub_DLLs/0007-api-ms-win-core-apiquery-l1-1-0-Add-dll.patch patch_apply api-ms-win-Stub_DLLs/0008-api-ms-win-core-libraryloader-l1-2-0-Add-dll.patch patch_apply api-ms-win-Stub_DLLs/0009-api-ms-win-core-kernel32-legacy-l1-1-1-Add-dll.patch + patch_apply api-ms-win-Stub_DLLs/0010-api-ms-win-core-heap-l2-1-0-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 },'; @@ -2525,6 +2527,7 @@ if test "$enable_api_ms_win_Stub_DLLs" -eq 1; then echo '+ { "Michael Müller", "api-ms-win-core-apiquery-l1-1-0: Add dll.", 1 },'; echo '+ { "Michael Müller", "api-ms-win-core-libraryloader-l1-2-0: Add dll.", 1 },'; echo '+ { "Michael Müller", "api-ms-win-core-kernel32-legacy-l1-1-1: Add dll.", 1 },'; + echo '+ { "Michael Müller", "api-ms-win-core-heap-l2-1-0: Add dll.", 1 },'; ) >> "$patchlist" fi