Fixed the declarations of GetFileVersionInfoSizeA/W and GetFileVersionInfoA/W

svn path=/trunk/; revision=18456
This commit is contained in:
Thomas Bluemel 2005-10-14 19:48:28 +00:00
parent 7daa792a3e
commit bf7b9d8bb2
2 changed files with 8 additions and 8 deletions

View file

@ -345,7 +345,7 @@ END:
*/ */
DWORD DWORD
WINAPI WINAPI
GetFileVersionInfoSizeW ( LPWSTR filename, LPDWORD handle ) GetFileVersionInfoSizeW ( LPCWSTR filename, LPDWORD handle )
{ {
DWORD len; DWORD len;
@ -371,7 +371,7 @@ GetFileVersionInfoSizeW ( LPWSTR filename, LPDWORD handle )
*/ */
DWORD DWORD
WINAPI WINAPI
GetFileVersionInfoSizeA ( LPSTR filename, LPDWORD handle ) GetFileVersionInfoSizeA ( LPCSTR filename, LPDWORD handle )
{ {
LPWSTR filenameW = VERSION_AllocA2W(filename); LPWSTR filenameW = VERSION_AllocA2W(filename);
DWORD ret = GetFileVersionInfoSizeW ( filenameW, handle ); DWORD ret = GetFileVersionInfoSizeW ( filenameW, handle );
@ -385,7 +385,7 @@ GetFileVersionInfoSizeA ( LPSTR filename, LPDWORD handle )
BOOL BOOL
WINAPI WINAPI
GetFileVersionInfoW ( GetFileVersionInfoW (
LPWSTR filename, DWORD handle, LPCWSTR filename, DWORD handle,
DWORD datasize, LPVOID data ) DWORD datasize, LPVOID data )
{ {
DWORD len, extradata; DWORD len, extradata;
@ -411,7 +411,7 @@ GetFileVersionInfoW (
BOOL BOOL
WINAPI WINAPI
GetFileVersionInfoA ( GetFileVersionInfoA (
LPSTR filename, DWORD handle, LPCSTR filename, DWORD handle,
DWORD datasize, LPVOID data ) DWORD datasize, LPVOID data )
{ {
LPWSTR filenameW = VERSION_AllocA2W ( filename ); LPWSTR filenameW = VERSION_AllocA2W ( filename );

View file

@ -101,10 +101,10 @@ DWORD WINAPI VerFindFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,PUINT,LPSTR,PUINT);
DWORD WINAPI VerFindFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT,LPWSTR,PUINT); DWORD WINAPI VerFindFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT,LPWSTR,PUINT);
DWORD WINAPI VerInstallFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,PUINT); DWORD WINAPI VerInstallFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,PUINT);
DWORD WINAPI VerInstallFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT); DWORD WINAPI VerInstallFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT);
DWORD WINAPI GetFileVersionInfoSizeA(LPSTR,PDWORD); DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,PDWORD);
DWORD WINAPI GetFileVersionInfoSizeW(LPWSTR,PDWORD); DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,PDWORD);
BOOL WINAPI GetFileVersionInfoA(LPSTR,DWORD,DWORD,PVOID); BOOL WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,PVOID);
BOOL WINAPI GetFileVersionInfoW(LPWSTR,DWORD,DWORD,PVOID); BOOL WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,PVOID);
DWORD WINAPI VerLanguageNameA(DWORD,LPSTR,DWORD); DWORD WINAPI VerLanguageNameA(DWORD,LPSTR,DWORD);
DWORD WINAPI VerLanguageNameW(DWORD,LPWSTR,DWORD); DWORD WINAPI VerLanguageNameW(DWORD,LPWSTR,DWORD);
BOOL WINAPI VerQueryValueA(const LPVOID,LPSTR,LPVOID*,PUINT); BOOL WINAPI VerQueryValueA(const LPVOID,LPSTR,LPVOID*,PUINT);