Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5b22e4d6
Commit
5b22e4d6
authored
Nov 03, 2005
by
Ivan Leo Puoti
Committed by
Alexandre Julliard
Nov 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some wrong prototypes.
parent
af983e4d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
27 deletions
+25
-27
action.c
dlls/msi/action.c
+1
-2
appsearch.c
dlls/msi/appsearch.c
+1
-1
msi.c
dlls/msi/msi.c
+1
-1
info.c
dlls/version/info.c
+2
-2
install.c
dlls/version/install.c
+9
-9
ver16.c
dlls/version/ver16.c
+5
-6
winver.h
include/winver.h
+6
-6
No files found.
dlls/msi/action.c
View file @
5b22e4d6
...
...
@@ -1881,8 +1881,7 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
DWORD
versize
;
UINT
sz
;
LPVOID
version
;
static
const
WCHAR
name
[]
=
{
'\\'
,
0
};
static
WCHAR
name
[]
=
{
'\\'
,
0
};
static
const
WCHAR
name_fmt
[]
=
{
'%'
,
'u'
,
'.'
,
'%'
,
'u'
,
'.'
,
'%'
,
'u'
,
'.'
,
'%'
,
'u'
,
0
};
WCHAR
filever
[
0x100
];
...
...
dlls/msi/appsearch.c
View file @
5b22e4d6
...
...
@@ -549,7 +549,7 @@ static UINT ACTION_FileVersionMatches(MSISIGNATURE *sig, LPCWSTR filePath,
if
(
buf
)
{
static
const
WCHAR
rootW
[]
=
{
'\\'
,
0
};
static
WCHAR
rootW
[]
=
{
'\\'
,
0
};
UINT
versionLen
;
LPVOID
subBlock
=
NULL
;
...
...
dlls/msi/msi.c
View file @
5b22e4d6
...
...
@@ -1185,7 +1185,7 @@ end:
UINT
WINAPI
MsiGetFileVersionW
(
LPCWSTR
szFilePath
,
LPWSTR
lpVersionBuf
,
DWORD
*
pcchVersionBuf
,
LPWSTR
lpLangBuf
,
DWORD
*
pcchLangBuf
)
{
static
const
WCHAR
szVersionResource
[]
=
{
'\\'
,
0
};
static
WCHAR
szVersionResource
[]
=
{
'\\'
,
0
};
static
const
WCHAR
szVersionFormat
[]
=
{
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
0
};
static
const
WCHAR
szLangFormat
[]
=
{
'%'
,
'd'
,
0
};
...
...
dlls/version/info.c
View file @
5b22e4d6
...
...
@@ -752,7 +752,7 @@ static BOOL WINAPI VersionInfo32_QueryValue( VS_VERSION_INFO_STRUCT32 *info, LPC
/***********************************************************************
* VerQueryValueA [VERSION.@]
*/
BOOL
WINAPI
VerQueryValueA
(
LPVOID
pBlock
,
LP
C
STR
lpSubBlock
,
BOOL
WINAPI
VerQueryValueA
(
LPVOID
pBlock
,
LPSTR
lpSubBlock
,
LPVOID
*
lplpBuffer
,
UINT
*
puLen
)
{
static
const
char
rootA
[]
=
"
\\
"
;
...
...
@@ -799,7 +799,7 @@ BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPCSTR lpSubBlock,
/***********************************************************************
* VerQueryValueW [VERSION.@]
*/
BOOL
WINAPI
VerQueryValueW
(
LPVOID
pBlock
,
LP
C
WSTR
lpSubBlock
,
BOOL
WINAPI
VerQueryValueW
(
LPVOID
pBlock
,
LPWSTR
lpSubBlock
,
LPVOID
*
lplpBuffer
,
UINT
*
puLen
)
{
static
const
WCHAR
rootW
[]
=
{
'\\'
,
0
};
...
...
dlls/version/install.c
View file @
5b22e4d6
...
...
@@ -123,9 +123,9 @@ static int testFileExistenceW( const WCHAR *path, const WCHAR *file, BOOL excl )
*/
DWORD
WINAPI
VerFindFileA
(
UINT
flags
,
LP
C
STR
lpszFilename
,
LP
C
STR
lpszWinDir
,
LP
C
STR
lpszAppDir
,
LPSTR
lpszFilename
,
LPSTR
lpszWinDir
,
LPSTR
lpszAppDir
,
LPSTR
lpszCurDir
,
UINT
*
lpuCurDirLen
,
LPSTR
lpszDestDir
,
...
...
@@ -220,8 +220,8 @@ DWORD WINAPI VerFindFileA(
/*****************************************************************************
* VerFindFileW [VERSION.@]
*/
DWORD
WINAPI
VerFindFileW
(
UINT
flags
,
LP
CWSTR
lpszFilename
,
LPC
WSTR
lpszWinDir
,
LP
C
WSTR
lpszAppDir
,
LPWSTR
lpszCurDir
,
UINT
*
lpuCurDirLen
,
DWORD
WINAPI
VerFindFileW
(
UINT
flags
,
LP
WSTR
lpszFilename
,
LP
WSTR
lpszWinDir
,
LPWSTR
lpszAppDir
,
LPWSTR
lpszCurDir
,
UINT
*
lpuCurDirLen
,
LPWSTR
lpszDestDir
,
UINT
*
lpuDestDirLen
)
{
static
const
WCHAR
emptyW
;
...
...
@@ -361,8 +361,8 @@ _error2vif(DWORD error) {
* VerInstallFileA [VERSION.@]
*/
DWORD
WINAPI
VerInstallFileA
(
UINT
flags
,
LP
CSTR
srcfilename
,
LPCSTR
destfilename
,
LPC
STR
srcdir
,
LP
CSTR
destdir
,
LPC
STR
curdir
,
LPSTR
tmpfile
,
UINT
*
tmpfilelen
)
UINT
flags
,
LP
STR
srcfilename
,
LPSTR
destfilename
,
LP
STR
srcdir
,
LP
STR
destdir
,
LP
STR
curdir
,
LPSTR
tmpfile
,
UINT
*
tmpfilelen
)
{
LPCSTR
pdest
;
char
destfn
[
260
],
tmpfn
[
260
],
srcfn
[
260
];
...
...
@@ -528,8 +528,8 @@ DWORD WINAPI VerInstallFileA(
* VerInstallFileW [VERSION.@]
*/
DWORD
WINAPI
VerInstallFileW
(
UINT
flags
,
LP
CWSTR
srcfilename
,
LPCWSTR
destfilename
,
LPC
WSTR
srcdir
,
LP
CWSTR
destdir
,
LPC
WSTR
curdir
,
LPWSTR
tmpfile
,
UINT
*
tmpfilelen
)
UINT
flags
,
LP
WSTR
srcfilename
,
LPWSTR
destfilename
,
LP
WSTR
srcdir
,
LP
WSTR
destdir
,
LP
WSTR
curdir
,
LPWSTR
tmpfile
,
UINT
*
tmpfilelen
)
{
LPSTR
wsrcf
=
NULL
,
wsrcd
=
NULL
,
wdestf
=
NULL
,
wdestd
=
NULL
,
wtmpf
=
NULL
,
wcurd
=
NULL
;
DWORD
ret
;
...
...
dlls/version/ver16.c
View file @
5b22e4d6
...
...
@@ -53,8 +53,8 @@ DWORD WINAPI GetFileVersionInfo16( LPCSTR lpszFileName, DWORD handle,
/*************************************************************************
* VerFindFile [VER.8]
*/
DWORD
WINAPI
VerFindFile16
(
UINT16
flags
,
LP
C
STR
lpszFilename
,
LP
CSTR
lpszWinDir
,
LPC
STR
lpszAppDir
,
DWORD
WINAPI
VerFindFile16
(
UINT16
flags
,
LPSTR
lpszFilename
,
LP
STR
lpszWinDir
,
LP
STR
lpszAppDir
,
LPSTR
lpszCurDir
,
UINT16
*
lpuCurDirLen
,
LPSTR
lpszDestDir
,
UINT16
*
lpuDestDirLen
)
{
...
...
@@ -71,8 +71,8 @@ DWORD WINAPI VerFindFile16( UINT16 flags, LPCSTR lpszFilename,
* VerInstallFile [VER.9]
*/
DWORD
WINAPI
VerInstallFile16
(
UINT16
flags
,
LP
CSTR
lpszSrcFilename
,
LPC
STR
lpszDestFilename
,
LP
CSTR
lpszSrcDir
,
LPCSTR
lpszDestDir
,
LPC
STR
lpszCurDir
,
LP
STR
lpszSrcFilename
,
LP
STR
lpszDestFilename
,
LP
STR
lpszSrcDir
,
LPSTR
lpszDestDir
,
LP
STR
lpszCurDir
,
LPSTR
lpszTmpFile
,
UINT16
*
lpwTmpFileLen
)
{
UINT
filelen
;
...
...
@@ -95,7 +95,7 @@ DWORD WINAPI VerLanguageName16( UINT16 uLang, LPSTR lpszLang, UINT16 cbLang )
/*************************************************************************
* VerQueryValue [VER.11]
*/
DWORD
WINAPI
VerQueryValue16
(
SEGPTR
spvBlock
,
LP
C
STR
lpszSubBlock
,
DWORD
WINAPI
VerQueryValue16
(
SEGPTR
spvBlock
,
LPSTR
lpszSubBlock
,
SEGPTR
*
lpspBuffer
,
UINT16
*
lpcb
)
{
LPVOID
lpvBlock
=
MapSL
(
spvBlock
);
...
...
@@ -121,4 +121,3 @@ DWORD WINAPI VerQueryValue16( SEGPTR spvBlock, LPCSTR lpszSubBlock,
return
retv
;
}
include/winver.h
View file @
5b22e4d6
...
...
@@ -150,17 +150,17 @@ typedef struct tagVS_FIXEDFILEINFO {
/* function prototypes */
DWORD
WINAPI
VerFindFileA
(
UINT
,
LP
CSTR
,
LPCSTR
,
LPC
STR
,
LPSTR
,
UINT
*
,
LPSTR
,
UINT
*
);
DWORD
WINAPI
VerFindFileW
(
UINT
,
LP
CWSTR
,
LPCWSTR
,
LPC
WSTR
,
LPWSTR
,
UINT
*
,
LPWSTR
,
UINT
*
);
DWORD
WINAPI
VerFindFileA
(
UINT
,
LP
STR
,
LPSTR
,
LP
STR
,
LPSTR
,
UINT
*
,
LPSTR
,
UINT
*
);
DWORD
WINAPI
VerFindFileW
(
UINT
,
LP
WSTR
,
LPWSTR
,
LP
WSTR
,
LPWSTR
,
UINT
*
,
LPWSTR
,
UINT
*
);
#define VerFindFile WINELIB_NAME_AW(VerFindFile)
DWORD
WINAPI
VerInstallFileA
(
UINT
,
LP
CSTR
,
LPCSTR
,
LPCSTR
,
LPCSTR
,
LPC
STR
,
LPSTR
,
UINT
*
);
DWORD
WINAPI
VerInstallFileW
(
UINT
,
LP
CWSTR
,
LPCWSTR
,
LPCWSTR
,
LPCWSTR
,
LPC
WSTR
,
LPWSTR
,
UINT
*
);
DWORD
WINAPI
VerInstallFileA
(
UINT
,
LP
STR
,
LPSTR
,
LPSTR
,
LPSTR
,
LP
STR
,
LPSTR
,
UINT
*
);
DWORD
WINAPI
VerInstallFileW
(
UINT
,
LP
WSTR
,
LPWSTR
,
LPWSTR
,
LPWSTR
,
LP
WSTR
,
LPWSTR
,
UINT
*
);
#define VerInstallFile WINELIB_NAME_AW(VerInstallFile)
DWORD
WINAPI
VerLanguageNameA
(
UINT
,
LPSTR
,
UINT
);
DWORD
WINAPI
VerLanguageNameW
(
UINT
,
LPWSTR
,
UINT
);
#define VerLanguageName WINELIB_NAME_AW(VerLanguageName)
BOOL
WINAPI
VerQueryValueA
(
LPVOID
,
LP
C
STR
,
LPVOID
*
,
UINT
*
);
BOOL
WINAPI
VerQueryValueW
(
LPVOID
,
LP
C
WSTR
,
LPVOID
*
,
UINT
*
);
BOOL
WINAPI
VerQueryValueA
(
LPVOID
,
LPSTR
,
LPVOID
*
,
UINT
*
);
BOOL
WINAPI
VerQueryValueW
(
LPVOID
,
LPWSTR
,
LPVOID
*
,
UINT
*
);
#define VerQueryValue WINELIB_NAME_AW(VerQueryValue)
DWORD
WINAPI
GetFileVersionInfoSizeA
(
LPCSTR
,
LPDWORD
);
DWORD
WINAPI
GetFileVersionInfoSizeW
(
LPCWSTR
,
LPDWORD
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment