mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
40 lines
1.6 KiB
Diff
40 lines
1.6 KiB
Diff
|
From 219afe0784e5177b592da4e4ab9b42efc155f1e4 Mon Sep 17 00:00:00 2001
|
||
|
From: Sebastian Lackner <sebastian@fds-team.de>
|
||
|
Date: Sat, 21 Feb 2015 11:07:14 +0100
|
||
|
Subject: version: Partially implement GetFileVersionInfoExA/W.
|
||
|
|
||
|
Based on a patch by Austin English.
|
||
|
---
|
||
|
dlls/version/version.c | 10 ++++------
|
||
|
1 file changed, 4 insertions(+), 6 deletions(-)
|
||
|
|
||
|
diff --git a/dlls/version/version.c b/dlls/version/version.c
|
||
|
index 18bf74c..2189445 100644
|
||
|
--- a/dlls/version/version.c
|
||
|
+++ b/dlls/version/version.c
|
||
|
@@ -1638,9 +1638,8 @@ DWORD WINAPI GetFileVersionInfoSizeExW(DWORD flags, LPCWSTR filename, LPDWORD ha
|
||
|
*/
|
||
|
BOOL WINAPI GetFileVersionInfoExA(DWORD flags, LPCSTR filename, DWORD handle, DWORD len, LPVOID data)
|
||
|
{
|
||
|
- FIXME("stub: %u %s %u %u %p\n", flags, wine_dbgstr_a(filename), handle, len, data);
|
||
|
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||
|
- return 0;
|
||
|
+ FIXME("semi-stub: %u %s %u %u %p\n", flags, wine_dbgstr_a(filename), handle, len, data);
|
||
|
+ return GetFileVersionInfoA(filename, handle, len, data);
|
||
|
}
|
||
|
|
||
|
/******************************************************************************
|
||
|
@@ -1648,7 +1647,6 @@ BOOL WINAPI GetFileVersionInfoExA(DWORD flags, LPCSTR filename, DWORD handle, DW
|
||
|
*/
|
||
|
BOOL WINAPI GetFileVersionInfoExW(DWORD flags, LPCWSTR filename, DWORD handle, DWORD len, LPVOID data)
|
||
|
{
|
||
|
- FIXME("stub: %u %s %u %u %p\n", flags, wine_dbgstr_w(filename), handle, len, data);
|
||
|
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||
|
- return 0;
|
||
|
+ FIXME("semi-stub: %u %s %u %u %p\n", flags, wine_dbgstr_w(filename), handle, len, data);
|
||
|
+ return GetFileVersionInfoW(filename, handle, len, data);
|
||
|
}
|
||
|
--
|
||
|
2.3.0
|
||
|
|