Fixed prototype of GetFileVersionInfoA/W.
This commit is contained in:
parent
a7a006a00d
commit
07b6e6e62e
|
@ -488,7 +488,7 @@ DWORD WINAPI GetFileVersionInfoSizeW( LPCWSTR filename, LPDWORD handle )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* GetFileVersionInfoA [VERSION.1]
|
* GetFileVersionInfoA [VERSION.1]
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI GetFileVersionInfoA( LPCSTR filename, DWORD handle,
|
BOOL WINAPI GetFileVersionInfoA( LPCSTR filename, DWORD handle,
|
||||||
DWORD datasize, LPVOID data )
|
DWORD datasize, LPVOID data )
|
||||||
{
|
{
|
||||||
DWORD len;
|
DWORD len;
|
||||||
|
@ -527,7 +527,7 @@ DO_CONVERT:
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* GetFileVersionInfoW [VERSION.4]
|
* GetFileVersionInfoW [VERSION.4]
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI GetFileVersionInfoW( LPCWSTR filename, DWORD handle,
|
BOOL WINAPI GetFileVersionInfoW( LPCWSTR filename, DWORD handle,
|
||||||
DWORD datasize, LPVOID data )
|
DWORD datasize, LPVOID data )
|
||||||
{
|
{
|
||||||
DWORD len = WideCharToMultiByte( CP_ACP, 0, filename, -1, NULL, 0, NULL, NULL );
|
DWORD len = WideCharToMultiByte( CP_ACP, 0, filename, -1, NULL, 0, NULL, NULL );
|
||||||
|
|
|
@ -158,8 +158,8 @@ DWORD WINAPI VerQueryValueW(LPVOID,LPCWSTR,LPVOID*,UINT*);
|
||||||
DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD);
|
DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD);
|
||||||
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD);
|
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD);
|
||||||
#define GetFileVersionInfoSize WINELIB_NAME_AW(GetFileVersionInfoSize)
|
#define GetFileVersionInfoSize WINELIB_NAME_AW(GetFileVersionInfoSize)
|
||||||
DWORD WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID);
|
BOOL WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID);
|
||||||
DWORD WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID);
|
BOOL WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID);
|
||||||
#define GetFileVersionInfo WINELIB_NAME_AW(GetFileVersionInfo)
|
#define GetFileVersionInfo WINELIB_NAME_AW(GetFileVersionInfo)
|
||||||
|
|
||||||
/* 20 GETFILEVERSIONINFORAW */
|
/* 20 GETFILEVERSIONINFORAW */
|
||||||
|
|
Loading…
Reference in New Issue