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
1486d851
Commit
1486d851
authored
May 31, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Constify some variables.
parent
d4fc05a9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-15
appsearch.c
dlls/msi/appsearch.c
+3
-3
classes.c
dlls/msi/classes.c
+4
-4
cond.y
dlls/msi/cond.y
+4
-4
custom.c
dlls/msi/custom.c
+3
-3
msipriv.h
dlls/msi/msipriv.h
+1
-1
No files found.
dlls/msi/appsearch.c
View file @
1486d851
...
...
@@ -474,7 +474,7 @@ static void ACTION_ExpandAnyPath(MSIPACKAGE *package, WCHAR *src, WCHAR *dst,
* Return ERROR_SUCCESS in case of success (whether or not the file matches),
* something else if an install-halting error occurs.
*/
static
UINT
ACTION_FileVersionMatches
(
MSISIGNATURE
*
sig
,
LPCWSTR
filePath
,
static
UINT
ACTION_FileVersionMatches
(
const
MSISIGNATURE
*
sig
,
LPCWSTR
filePath
,
BOOL
*
matches
)
{
UINT
rc
=
ERROR_SUCCESS
;
...
...
@@ -549,8 +549,8 @@ static UINT ACTION_FileVersionMatches(MSISIGNATURE *sig, LPCWSTR filePath,
* Return ERROR_SUCCESS in case of success (whether or not the file matches),
* something else if an install-halting error occurs.
*/
static
UINT
ACTION_FileMatchesSig
(
MSISIGNATURE
*
sig
,
LPWIN32_FIND_DATAW
findData
,
LPCWSTR
fullFilePath
,
BOOL
*
matches
)
static
UINT
ACTION_FileMatchesSig
(
const
MSISIGNATURE
*
sig
,
const
WIN32_FIND_DATAW
*
findData
,
LPCWSTR
fullFilePath
,
BOOL
*
matches
)
{
UINT
rc
=
ERROR_SUCCESS
;
...
...
dlls/msi/classes.c
View file @
1486d851
...
...
@@ -735,7 +735,7 @@ static void mark_mime_for_install( MSIMIME *mime )
mime
->
InstallMe
=
TRUE
;
}
static
UINT
register_appid
(
MSIAPPID
*
appid
,
LPCWSTR
app
)
static
UINT
register_appid
(
const
MSIAPPID
*
appid
,
LPCWSTR
app
)
{
static
const
WCHAR
szAppID
[]
=
{
'A'
,
'p'
,
'p'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
szRemoteServerName
[]
=
...
...
@@ -965,7 +965,7 @@ UINT ACTION_RegisterClassInfo(MSIPACKAGE *package)
return
rc
;
}
static
LPCWSTR
get_clsid_of_progid
(
MSIPROGID
*
progid
)
static
LPCWSTR
get_clsid_of_progid
(
const
MSIPROGID
*
progid
)
{
while
(
progid
)
{
...
...
@@ -976,7 +976,7 @@ static LPCWSTR get_clsid_of_progid( MSIPROGID *progid )
return
NULL
;
}
static
UINT
register_progid
(
MSIPROGID
*
progid
)
static
UINT
register_progid
(
const
MSIPROGID
*
progid
)
{
static
const
WCHAR
szCLSID
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
szDefaultIcon
[]
=
...
...
@@ -1048,7 +1048,7 @@ UINT ACTION_RegisterProgIdInfo(MSIPACKAGE *package)
}
static
UINT
register_verb
(
MSIPACKAGE
*
package
,
LPCWSTR
progid
,
MSICOMPONENT
*
component
,
MSIEXTENSION
*
extension
,
MSICOMPONENT
*
component
,
const
MSIEXTENSION
*
extension
,
MSIVERB
*
verb
,
INT
*
Sequence
)
{
LPWSTR
keyname
;
...
...
dlls/msi/cond.y
View file @
1486d851
...
...
@@ -56,8 +56,8 @@ struct cond_str {
INT
len
;
};
static
LPWSTR
COND_GetString
(
struct
cond_str
*
str
);
static
LPWSTR
COND_GetLiteral
(
struct
cond_str
*
str
);
static
LPWSTR
COND_GetString
(
const
struct
cond_str
*
str
);
static
LPWSTR
COND_GetLiteral
(
const
struct
cond_str
*
str
);
static
int
cond_lex
(
void
*
COND_lval
,
COND_input
*
info
);
static
const
WCHAR
szEmpty
[]
=
{
0
};
...
...
@@ -678,7 +678,7 @@ static int cond_lex( void *COND_lval, COND_input *cond )
return
rc
;
}
static
LPWSTR
COND_GetString
(
struct
cond_str
*
str
)
static
LPWSTR
COND_GetString
(
const
struct
cond_str
*
str
)
{
LPWSTR
ret
;
...
...
@@ -692,7 +692,7 @@ static LPWSTR COND_GetString( struct cond_str *str )
return
ret
;
}
static
LPWSTR
COND_GetLiteral
(
struct
cond_str
*
str
)
static
LPWSTR
COND_GetLiteral
(
const
struct
cond_str
*
str
)
{
LPWSTR
ret
;
...
...
dlls/msi/custom.c
View file @
1486d851
...
...
@@ -124,7 +124,7 @@ static BOOL check_execution_scheduling_options(MSIPACKAGE *package, LPCWSTR acti
/* stores the CustomActionData before the action:
* [CustomActionData]Action
*/
static
LPWSTR
msi_get_deferred_action
(
LPCWSTR
action
,
LPWSTR
actiondata
)
static
LPWSTR
msi_get_deferred_action
(
LPCWSTR
action
,
LP
C
WSTR
actiondata
)
{
LPWSTR
deferred
;
DWORD
len
;
...
...
@@ -1016,7 +1016,7 @@ static UINT HANDLE_CustomType34(MSIPACKAGE *package, LPCWSTR source,
return
wait_process_handle
(
package
,
type
,
info
.
hProcess
,
action
);
}
static
DWORD
WINAPI
ACTION_CallScript
(
const
LPGUID
guid
)
static
DWORD
WINAPI
ACTION_CallScript
(
const
GUID
*
guid
)
{
msi_custom_action_info
*
info
;
MSIHANDLE
hPackage
;
...
...
@@ -1235,7 +1235,7 @@ static UINT HANDLE_CustomType53_54(MSIPACKAGE *package, LPCWSTR source,
return
wait_thread_handle
(
info
);
}
void
ACTION_FinishCustomActions
(
MSIPACKAGE
*
package
)
void
ACTION_FinishCustomActions
(
const
MSIPACKAGE
*
package
)
{
struct
list
*
item
;
HANDLE
*
wait_handles
;
...
...
dlls/msi/msipriv.h
View file @
1486d851
...
...
@@ -726,7 +726,7 @@ extern HINSTANCE msi_hInstance;
/* action related functions */
extern
UINT
ACTION_PerformAction
(
MSIPACKAGE
*
package
,
const
WCHAR
*
action
,
BOOL
force
);
extern
UINT
ACTION_PerformUIAction
(
MSIPACKAGE
*
package
,
const
WCHAR
*
action
);
extern
void
ACTION_FinishCustomActions
(
MSIPACKAGE
*
package
);
extern
void
ACTION_FinishCustomActions
(
const
MSIPACKAGE
*
package
);
extern
UINT
ACTION_CustomAction
(
MSIPACKAGE
*
package
,
const
WCHAR
*
action
,
BOOL
execute
);
static
inline
void
msi_feature_set_state
(
MSIFEATURE
*
feature
,
INSTALLSTATE
state
)
...
...
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