Commit b637d4ca authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Remove const from integer parameters.

parent 5b642da8
...@@ -653,8 +653,8 @@ static msi_custom_action_info *do_msidbCustomActionTypeDll( ...@@ -653,8 +653,8 @@ static msi_custom_action_info *do_msidbCustomActionTypeDll(
return info; return info;
} }
static UINT HANDLE_CustomType1(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType1( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
msi_custom_action_info *info; msi_custom_action_info *info;
MSIBINARY *binary; MSIBINARY *binary;
...@@ -736,8 +736,8 @@ static HANDLE execute_command( const WCHAR *app, WCHAR *arg, const WCHAR *dir ) ...@@ -736,8 +736,8 @@ static HANDLE execute_command( const WCHAR *app, WCHAR *arg, const WCHAR *dir )
return info.hProcess; return info.hProcess;
} }
static UINT HANDLE_CustomType2(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType2( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
MSIBINARY *binary; MSIBINARY *binary;
HANDLE handle; HANDLE handle;
...@@ -754,8 +754,8 @@ static UINT HANDLE_CustomType2(MSIPACKAGE *package, LPCWSTR source, ...@@ -754,8 +754,8 @@ static UINT HANDLE_CustomType2(MSIPACKAGE *package, LPCWSTR source,
return wait_process_handle( package, type, handle, action ); return wait_process_handle( package, type, handle, action );
} }
static UINT HANDLE_CustomType17(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType17( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
msi_custom_action_info *info; msi_custom_action_info *info;
MSIFILE *file; MSIFILE *file;
...@@ -773,8 +773,8 @@ static UINT HANDLE_CustomType17(MSIPACKAGE *package, LPCWSTR source, ...@@ -773,8 +773,8 @@ static UINT HANDLE_CustomType17(MSIPACKAGE *package, LPCWSTR source,
return wait_thread_handle( info ); return wait_thread_handle( info );
} }
static UINT HANDLE_CustomType18(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType18( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
MSIFILE *file; MSIFILE *file;
HANDLE handle; HANDLE handle;
...@@ -791,8 +791,8 @@ static UINT HANDLE_CustomType18(MSIPACKAGE *package, LPCWSTR source, ...@@ -791,8 +791,8 @@ static UINT HANDLE_CustomType18(MSIPACKAGE *package, LPCWSTR source,
return wait_process_handle( package, type, handle, action ); return wait_process_handle( package, type, handle, action );
} }
static UINT HANDLE_CustomType19(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType19( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
static const WCHAR query[] = { static const WCHAR query[] = {
'S','E','L','E','C','T',' ','`','M','e','s','s','a','g','e','`',' ', 'S','E','L','E','C','T',' ','`','M','e','s','s','a','g','e','`',' ',
...@@ -822,8 +822,8 @@ static UINT HANDLE_CustomType19(MSIPACKAGE *package, LPCWSTR source, ...@@ -822,8 +822,8 @@ static UINT HANDLE_CustomType19(MSIPACKAGE *package, LPCWSTR source,
return ERROR_INSTALL_FAILURE; return ERROR_INSTALL_FAILURE;
} }
static UINT HANDLE_CustomType23(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType23( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
static const WCHAR msiexecW[] = {'m','s','i','e','x','e','c',0}; static const WCHAR msiexecW[] = {'m','s','i','e','x','e','c',0};
static const WCHAR paramsW[] = {'/','q','b',' ','/','i',' '}; static const WCHAR paramsW[] = {'/','q','b',' ','/','i',' '};
...@@ -866,8 +866,8 @@ static UINT HANDLE_CustomType23(MSIPACKAGE *package, LPCWSTR source, ...@@ -866,8 +866,8 @@ static UINT HANDLE_CustomType23(MSIPACKAGE *package, LPCWSTR source,
return wait_process_handle( package, type, handle, action ); return wait_process_handle( package, type, handle, action );
} }
static UINT HANDLE_CustomType50(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType50( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
WCHAR *exe, *arg; WCHAR *exe, *arg;
HANDLE handle; HANDLE handle;
...@@ -883,8 +883,8 @@ static UINT HANDLE_CustomType50(MSIPACKAGE *package, LPCWSTR source, ...@@ -883,8 +883,8 @@ static UINT HANDLE_CustomType50(MSIPACKAGE *package, LPCWSTR source,
return wait_process_handle( package, type, handle, action ); return wait_process_handle( package, type, handle, action );
} }
static UINT HANDLE_CustomType34(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType34( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
const WCHAR *workingdir = NULL; const WCHAR *workingdir = NULL;
HANDLE handle; HANDLE handle;
...@@ -984,8 +984,8 @@ static msi_custom_action_info *do_msidbCustomActionTypeScript( ...@@ -984,8 +984,8 @@ static msi_custom_action_info *do_msidbCustomActionTypeScript(
return info; return info;
} }
static UINT HANDLE_CustomType37_38(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType37_38( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
msi_custom_action_info *info; msi_custom_action_info *info;
...@@ -995,8 +995,8 @@ static UINT HANDLE_CustomType37_38(MSIPACKAGE *package, LPCWSTR source, ...@@ -995,8 +995,8 @@ static UINT HANDLE_CustomType37_38(MSIPACKAGE *package, LPCWSTR source,
return wait_thread_handle( info ); return wait_thread_handle( info );
} }
static UINT HANDLE_CustomType5_6(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType5_6( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
static const WCHAR query[] = { static const WCHAR query[] = {
'S','E','L','E','C','T',' ','*',' ','F','R','O','M',' ', 'S','E','L','E','C','T',' ','*',' ','F','R','O','M',' ',
...@@ -1042,8 +1042,8 @@ done: ...@@ -1042,8 +1042,8 @@ done:
return r; return r;
} }
static UINT HANDLE_CustomType21_22(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType21_22( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
msi_custom_action_info *info; msi_custom_action_info *info;
MSIFILE *file; MSIFILE *file;
...@@ -1101,8 +1101,8 @@ done: ...@@ -1101,8 +1101,8 @@ done:
return r; return r;
} }
static UINT HANDLE_CustomType53_54(MSIPACKAGE *package, LPCWSTR source, static UINT HANDLE_CustomType53_54( MSIPACKAGE *package, const WCHAR *source, const WCHAR *target,
LPCWSTR target, const INT type, LPCWSTR action) INT type, const WCHAR *action )
{ {
msi_custom_action_info *info; msi_custom_action_info *info;
WCHAR *prop; WCHAR *prop;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment