From a293741c331b1e3b3166614badeb3b415d0b1db1 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 16 Jan 2016 09:54:17 +0100 Subject: [PATCH] Added patch for api-ms-win-core-apiquery-l1-1-0 dll. --- ...-ms-win-core-apiquery-l1-1-0-Add-dll.patch | 58 +++++++++++++++++++ patches/api-ms-win-crt-Stub_DLLs/definition | 1 + patches/patchinstall.sh | 11 ++-- 3 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 patches/api-ms-win-crt-Stub_DLLs/0007-api-ms-win-core-apiquery-l1-1-0-Add-dll.patch diff --git a/patches/api-ms-win-crt-Stub_DLLs/0007-api-ms-win-core-apiquery-l1-1-0-Add-dll.patch b/patches/api-ms-win-crt-Stub_DLLs/0007-api-ms-win-core-apiquery-l1-1-0-Add-dll.patch new file mode 100644 index 00000000..f7f45228 --- /dev/null +++ b/patches/api-ms-win-crt-Stub_DLLs/0007-api-ms-win-core-apiquery-l1-1-0-Add-dll.patch @@ -0,0 +1,58 @@ +From fc3f7233db280e96a676b5dd3f2664666f49c631 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Fri, 15 Jan 2016 13:45:05 +0100 +Subject: api-ms-win-core-apiquery-l1-1-0: Add dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-apiquery-l1-1-0/Makefile.in | 1 + + .../api-ms-win-core-apiquery-l1-1-0.spec | 1 + + tools/make_specfiles | 4 ++++ + 4 files changed, 7 insertions(+) + create mode 100644 dlls/api-ms-win-core-apiquery-l1-1-0/Makefile.in + create mode 100644 dlls/api-ms-win-core-apiquery-l1-1-0/api-ms-win-core-apiquery-l1-1-0.spec + +diff --git a/configure.ac b/configure.ac +index 2d2108b..aca3374 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2624,6 +2624,7 @@ WINE_CONFIG_TEST(dlls/advpack/tests) + WINE_CONFIG_DLL(amstream,,[clean]) + WINE_CONFIG_TEST(dlls/amstream/tests) + WINE_CONFIG_DLL(api-ms-win-appmodel-runtime-l1-1-1) ++WINE_CONFIG_DLL(api-ms-win-core-apiquery-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-com-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-com-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-console-l1-1-0) +diff --git a/dlls/api-ms-win-core-apiquery-l1-1-0/Makefile.in b/dlls/api-ms-win-core-apiquery-l1-1-0/Makefile.in +new file mode 100644 +index 0000000..492a265 +--- /dev/null ++++ b/dlls/api-ms-win-core-apiquery-l1-1-0/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-apiquery-l1-1-0.dll +diff --git a/dlls/api-ms-win-core-apiquery-l1-1-0/api-ms-win-core-apiquery-l1-1-0.spec b/dlls/api-ms-win-core-apiquery-l1-1-0/api-ms-win-core-apiquery-l1-1-0.spec +new file mode 100644 +index 0000000..1d99dd7 +--- /dev/null ++++ b/dlls/api-ms-win-core-apiquery-l1-1-0/api-ms-win-core-apiquery-l1-1-0.spec +@@ -0,0 +1 @@ ++@ stdcall ApiSetQueryApiSetPresence(ptr ptr) ntdll.ApiSetQueryApiSetPresence +diff --git a/tools/make_specfiles b/tools/make_specfiles +index d2158d8..6456efe 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -265,6 +265,10 @@ my @dll_groups = + "api-ms-win-core-rtlsupport-l1-2-0", + ], + [ ++ "ntdll", ++ "api-ms-win-core-apiquery-l1-1-0", ++ ], ++ [ + "gdi32", + "ext-ms-win-gdi-devcaps-l1-1-0", + ], +-- +2.6.4 + diff --git a/patches/api-ms-win-crt-Stub_DLLs/definition b/patches/api-ms-win-crt-Stub_DLLs/definition index 9135a862..a7c717cd 100644 --- a/patches/api-ms-win-crt-Stub_DLLs/definition +++ b/patches/api-ms-win-crt-Stub_DLLs/definition @@ -3,6 +3,7 @@ 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 api-ms-win-appmodel-runtime-l1-1-1 dll +Fixes: Add api-ms-win-core-apiquery-l1-1-0 dll Fixes: Add kernelbase dll Depends: ole32-CoGetApartmentType Depends: kernel32-GetFinalPathNameByHandle diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index ea2e64fb..bb3e80d4 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -2491,10 +2491,11 @@ fi # | # | Modified files: # | * configure.ac, dlls/api-ms-win-appmodel-runtime-l1-1-1/Makefile.in, dlls/api-ms-win-appmodel-runtime-l1-1-1/api-ms-win- -# | appmodel-runtime-l1-1-1.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-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, +# | 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-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 # | @@ -2505,6 +2506,7 @@ if test "$enable_api_ms_win_crt_Stub_DLLs" -eq 1; then 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 patch_apply api-ms-win-crt-Stub_DLLs/0006-api-ms-win-appmodel-runtime-l1-1-1-Add-new-dll.patch + patch_apply api-ms-win-crt-Stub_DLLs/0007-api-ms-win-core-apiquery-l1-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 },'; @@ -2512,6 +2514,7 @@ if test "$enable_api_ms_win_crt_Stub_DLLs" -eq 1; then 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 },'; echo '+ { "Michael Müller", "api-ms-win-appmodel-runtime-l1-1-1: Add new dll.", 1 },'; + echo '+ { "Michael Müller", "api-ms-win-core-apiquery-l1-1-0: Add dll.", 1 },'; ) >> "$patchlist" fi