From 07b6e6e62e39069da036e3ee9743635d4f35ab22 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 16 Mar 2001 16:42:20 +0000 Subject: [PATCH] Fixed prototype of GetFileVersionInfoA/W. --- dlls/version/info.c | 4 ++-- include/winver.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/version/info.c b/dlls/version/info.c index 299d992926b..b20e56ec778 100644 --- a/dlls/version/info.c +++ b/dlls/version/info.c @@ -488,7 +488,7 @@ DWORD WINAPI GetFileVersionInfoSizeW( LPCWSTR filename, LPDWORD handle ) /*********************************************************************** * GetFileVersionInfoA [VERSION.1] */ -DWORD WINAPI GetFileVersionInfoA( LPCSTR filename, DWORD handle, +BOOL WINAPI GetFileVersionInfoA( LPCSTR filename, DWORD handle, DWORD datasize, LPVOID data ) { DWORD len; @@ -527,7 +527,7 @@ DO_CONVERT: /*********************************************************************** * GetFileVersionInfoW [VERSION.4] */ -DWORD WINAPI GetFileVersionInfoW( LPCWSTR filename, DWORD handle, +BOOL WINAPI GetFileVersionInfoW( LPCWSTR filename, DWORD handle, DWORD datasize, LPVOID data ) { DWORD len = WideCharToMultiByte( CP_ACP, 0, filename, -1, NULL, 0, NULL, NULL ); diff --git a/include/winver.h b/include/winver.h index 7cd655e5616..efe62525bfe 100644 --- a/include/winver.h +++ b/include/winver.h @@ -158,8 +158,8 @@ DWORD WINAPI VerQueryValueW(LPVOID,LPCWSTR,LPVOID*,UINT*); DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD); DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD); #define GetFileVersionInfoSize WINELIB_NAME_AW(GetFileVersionInfoSize) -DWORD WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID); -DWORD WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID); +BOOL WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID); +BOOL WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID); #define GetFileVersionInfo WINELIB_NAME_AW(GetFileVersionInfo) /* 20 GETFILEVERSIONINFORAW */