From 2fbbd765c6d17d4418ddfae687144a14e36639c7 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 9 May 2015 20:57:21 +0200 Subject: [PATCH] kernel32-GetFinalPathNameByHandle: Add exports to api-ms-win-core-file-l1-1-0. --- ...2-Implement-GetFinalPathNameByHandle.patch | 24 +++++++++++++++---- patches/patchinstall.sh | 3 ++- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/patches/kernel32-GetFinalPathNameByHandle/0001-kernel32-Implement-GetFinalPathNameByHandle.patch b/patches/kernel32-GetFinalPathNameByHandle/0001-kernel32-Implement-GetFinalPathNameByHandle.patch index 816af58f..debf91d2 100644 --- a/patches/kernel32-GetFinalPathNameByHandle/0001-kernel32-Implement-GetFinalPathNameByHandle.patch +++ b/patches/kernel32-GetFinalPathNameByHandle/0001-kernel32-Implement-GetFinalPathNameByHandle.patch @@ -1,14 +1,30 @@ -From 849837db444c4fedb35f176c08db46f018adba28 Mon Sep 17 00:00:00 2001 +From afd33fadd45f1073ac0b8734d7003ba46b5d1269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Tue, 12 Aug 2014 20:24:14 +0200 Subject: kernel32: Implement GetFinalPathNameByHandle. --- + .../api-ms-win-core-file-l1-1-0.spec | 4 +- .../api-ms-win-core-file-l1-2-0.spec | 4 +- dlls/kernel32/file.c | 182 +++++++++++++++++++++ dlls/kernel32/kernel32.spec | 4 +- - 3 files changed, 186 insertions(+), 4 deletions(-) + 4 files changed, 188 insertions(+), 6 deletions(-) +diff --git a/dlls/api-ms-win-core-file-l1-1-0/api-ms-win-core-file-l1-1-0.spec b/dlls/api-ms-win-core-file-l1-1-0/api-ms-win-core-file-l1-1-0.spec +index 9e5b809..61e8038 100644 +--- a/dlls/api-ms-win-core-file-l1-1-0/api-ms-win-core-file-l1-1-0.spec ++++ b/dlls/api-ms-win-core-file-l1-1-0/api-ms-win-core-file-l1-1-0.spec +@@ -39,8 +39,8 @@ + @ stdcall GetFileSizeEx(long ptr) kernel32.GetFileSizeEx + @ stdcall GetFileTime(long ptr ptr ptr) kernel32.GetFileTime + @ stdcall GetFileType(long) kernel32.GetFileType +-@ stub GetFinalPathNameByHandleA +-@ stub GetFinalPathNameByHandleW ++@ stdcall GetFinalPathNameByHandleA(long ptr long long) kernel32.GetFinalPathNameByHandleA ++@ stdcall GetFinalPathNameByHandleW(long ptr long long) kernel32.GetFinalPathNameByHandleW + @ stdcall GetFullPathNameA(str long ptr ptr) kernel32.GetFullPathNameA + @ stdcall GetFullPathNameW(wstr long ptr ptr) kernel32.GetFullPathNameW + @ stdcall GetLogicalDriveStringsW(long ptr) kernel32.GetLogicalDriveStringsW diff --git a/dlls/api-ms-win-core-file-l1-2-0/api-ms-win-core-file-l1-2-0.spec b/dlls/api-ms-win-core-file-l1-2-0/api-ms-win-core-file-l1-2-0.spec index ebfd52e..cddf112 100644 --- a/dlls/api-ms-win-core-file-l1-2-0/api-ms-win-core-file-l1-2-0.spec @@ -216,7 +232,7 @@ index 006db1c..b3cc8c3 100644 +} \ No newline at end of file diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec -index 1179af2..90207e0 100644 +index bb72041..b7bead0 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -682,8 +682,8 @@ @@ -231,5 +247,5 @@ index 1179af2..90207e0 100644 @ stdcall GetFirmwareEnvironmentVariableW(wstr wstr ptr long) @ stdcall GetFullPathNameA(str long ptr ptr) -- -2.3.3 +2.4.0 diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 97d6a0cb..a5f8eb9f 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -3239,7 +3239,8 @@ fi # | * [#34851] Support for GetFinalPathNameByHandle # | # | Modified files: -# | * dlls/api-ms-win-core-file-l1-2-0/api-ms-win-core-file-l1-2-0.spec, dlls/kernel32/file.c, dlls/kernel32/kernel32.spec +# | * dlls/api-ms-win-core-file-l1-1-0/api-ms-win-core-file-l1-1-0.spec, dlls/api-ms-win-core-file-l1-2-0/api-ms-win-core- +# | file-l1-2-0.spec, dlls/kernel32/file.c, dlls/kernel32/kernel32.spec # | if test "$enable_kernel32_GetFinalPathNameByHandle" -eq 1; then patch_apply kernel32-GetFinalPathNameByHandle/0001-kernel32-Implement-GetFinalPathNameByHandle.patch