Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d58e1dba
Commit
d58e1dba
authored
Aug 04, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Write-strings warnings fix.
parent
3d9e96f3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
install.c
dlls/msi/install.c
+6
-6
msipriv.h
dlls/msi/msipriv.h
+2
-2
package.c
dlls/msi/tests/package.c
+8
-8
msiquery.h
include/msiquery.h
+4
-4
No files found.
dlls/msi/install.c
View file @
d58e1dba
...
...
@@ -579,7 +579,7 @@ UINT WINAPI MsiSetFeatureStateW(MSIHANDLE hInstall, LPCWSTR szFeature,
/***********************************************************************
* MsiGetFeatureStateA (MSI.@)
*/
UINT
WINAPI
MsiGetFeatureStateA
(
MSIHANDLE
hInstall
,
LPSTR
szFeature
,
UINT
WINAPI
MsiGetFeatureStateA
(
MSIHANDLE
hInstall
,
LP
C
STR
szFeature
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
LPWSTR
szwFeature
=
NULL
;
...
...
@@ -594,7 +594,7 @@ UINT WINAPI MsiGetFeatureStateA(MSIHANDLE hInstall, LPSTR szFeature,
return
rc
;
}
UINT
MSI_GetFeatureStateW
(
MSIPACKAGE
*
package
,
LPWSTR
szFeature
,
UINT
MSI_GetFeatureStateW
(
MSIPACKAGE
*
package
,
LP
C
WSTR
szFeature
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
MSIFEATURE
*
feature
;
...
...
@@ -617,7 +617,7 @@ UINT MSI_GetFeatureStateW(MSIPACKAGE *package, LPWSTR szFeature,
/***********************************************************************
* MsiGetFeatureStateW (MSI.@)
*/
UINT
WINAPI
MsiGetFeatureStateW
(
MSIHANDLE
hInstall
,
LPWSTR
szFeature
,
UINT
WINAPI
MsiGetFeatureStateW
(
MSIHANDLE
hInstall
,
LP
C
WSTR
szFeature
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
MSIPACKAGE
*
package
;
...
...
@@ -652,7 +652,7 @@ UINT WINAPI MsiSetComponentStateA(MSIHANDLE hInstall, LPCSTR szComponent,
/***********************************************************************
* MsiGetComponentStateA (MSI.@)
*/
UINT
WINAPI
MsiGetComponentStateA
(
MSIHANDLE
hInstall
,
LPSTR
szComponent
,
UINT
WINAPI
MsiGetComponentStateA
(
MSIHANDLE
hInstall
,
LP
C
STR
szComponent
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
LPWSTR
szwComponent
=
NULL
;
...
...
@@ -683,7 +683,7 @@ static UINT MSI_SetComponentStateW(MSIPACKAGE *package, LPCWSTR szComponent,
return
ERROR_SUCCESS
;
}
UINT
MSI_GetComponentStateW
(
MSIPACKAGE
*
package
,
LPWSTR
szComponent
,
UINT
MSI_GetComponentStateW
(
MSIPACKAGE
*
package
,
LP
C
WSTR
szComponent
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
MSICOMPONENT
*
comp
;
...
...
@@ -726,7 +726,7 @@ UINT WINAPI MsiSetComponentStateW(MSIHANDLE hInstall, LPCWSTR szComponent,
/***********************************************************************
* MsiGetComponentStateW (MSI.@)
*/
UINT
WINAPI
MsiGetComponentStateW
(
MSIHANDLE
hInstall
,
LPWSTR
szComponent
,
UINT
WINAPI
MsiGetComponentStateW
(
MSIHANDLE
hInstall
,
LP
C
WSTR
szComponent
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
MSIPACKAGE
*
package
;
...
...
dlls/msi/msipriv.h
View file @
d58e1dba
...
...
@@ -393,8 +393,8 @@ extern INT MSI_ProcessMessage( MSIPACKAGE *, INSTALLMESSAGE, MSIRECORD * );
extern
UINT
MSI_GetPropertyW
(
MSIPACKAGE
*
,
LPCWSTR
,
LPWSTR
,
DWORD
*
);
extern
UINT
MSI_GetPropertyA
(
MSIPACKAGE
*
,
LPCSTR
,
LPSTR
,
DWORD
*
);
extern
MSICONDITION
MSI_EvaluateConditionW
(
MSIPACKAGE
*
,
LPCWSTR
);
extern
UINT
MSI_GetComponentStateW
(
MSIPACKAGE
*
,
LPWSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
extern
UINT
MSI_GetFeatureStateW
(
MSIPACKAGE
*
,
LPWSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
extern
UINT
MSI_GetComponentStateW
(
MSIPACKAGE
*
,
LP
C
WSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
extern
UINT
MSI_GetFeatureStateW
(
MSIPACKAGE
*
,
LP
C
WSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
extern
UINT
WINAPI
MSI_SetFeatureStateW
(
MSIPACKAGE
*
,
LPCWSTR
,
INSTALLSTATE
);
/* for deformating */
...
...
dlls/msi/tests/package.c
View file @
d58e1dba
...
...
@@ -98,7 +98,7 @@ static UINT create_file_table( MSIHANDLE hdb )
"PRIMARY KEY `File`)"
);
}
static
UINT
add_component_entry
(
MSIHANDLE
hdb
,
char
*
values
)
static
UINT
add_component_entry
(
MSIHANDLE
hdb
,
c
onst
c
har
*
values
)
{
char
insert
[]
=
"INSERT INTO `Component` "
"(`Component`, `ComponentId`, `Directory_`, `Attributes`, `Condition`, `KeyPath`) "
...
...
@@ -114,7 +114,7 @@ static UINT add_component_entry( MSIHANDLE hdb, char *values )
return
r
;
}
static
UINT
add_feature_entry
(
MSIHANDLE
hdb
,
char
*
values
)
static
UINT
add_feature_entry
(
MSIHANDLE
hdb
,
c
onst
c
har
*
values
)
{
char
insert
[]
=
"INSERT INTO `Feature` (`Feature`, `Feature_Parent`, "
"`Title`, `Description`, `Display`, `Level`, `Directory_`, `Attributes`) VALUES( %s )"
;
...
...
@@ -129,7 +129,7 @@ static UINT add_feature_entry( MSIHANDLE hdb, char *values )
return
r
;
}
static
UINT
add_feature_components_entry
(
MSIHANDLE
hdb
,
char
*
values
)
static
UINT
add_feature_components_entry
(
MSIHANDLE
hdb
,
c
onst
c
har
*
values
)
{
char
insert
[]
=
"INSERT INTO `FeatureComponents` "
"(`Feature_`, `Component_`) "
...
...
@@ -145,7 +145,7 @@ static UINT add_feature_components_entry( MSIHANDLE hdb, char *values )
return
r
;
}
static
UINT
add_file_entry
(
MSIHANDLE
hdb
,
char
*
values
)
static
UINT
add_file_entry
(
MSIHANDLE
hdb
,
c
onst
c
har
*
values
)
{
char
insert
[]
=
"INSERT INTO `File` "
"(`File`, `Component_`, `FileName`, `FileSize`, `Version`, `Language`, `Attributes`, `Sequence`) "
...
...
@@ -291,7 +291,7 @@ static void test_getsourcepath_bad( void )
ok
(
r
==
ERROR_INVALID_HANDLE
,
"return value wrong
\n
"
);
}
static
UINT
add_directory_entry
(
MSIHANDLE
hdb
,
char
*
values
)
static
UINT
add_directory_entry
(
MSIHANDLE
hdb
,
c
onst
c
har
*
values
)
{
char
insert
[]
=
"INSERT INTO `Directory` (`Directory`,`Directory_Parent`,`DefaultDir`) VALUES( %s )"
;
char
*
query
;
...
...
@@ -334,7 +334,7 @@ static void test_getsourcepath( void )
/* another test but try create a directory this time */
hdb
=
create_package_db
();
ok
(
hdb
,
"failed to create database
\n
"
);
r
=
add_directory_entry
(
hdb
,
"'TARGETDIR', '', 'SourceDir'"
);
ok
(
r
==
S_OK
,
"failed
\n
"
);
...
...
@@ -470,7 +470,7 @@ static void test_settargetpath(void)
MSIHANDLE
hpkg
;
UINT
r
;
MSIHANDLE
hdb
;
hdb
=
create_package_db
();
ok
(
hdb
,
"failed to create package database
\n
"
);
...
...
@@ -985,7 +985,7 @@ static void test_condition(void)
DeleteFile
(
msifile
);
}
static
BOOL
check_prop_empty
(
MSIHANDLE
hpkg
,
char
*
prop
)
static
BOOL
check_prop_empty
(
MSIHANDLE
hpkg
,
c
onst
c
har
*
prop
)
{
UINT
r
;
DWORD
sz
;
...
...
include/msiquery.h
View file @
d58e1dba
...
...
@@ -189,14 +189,14 @@ UINT WINAPI MsiDatabaseGenerateTransformW(MSIHANDLE,MSIHANDLE,LPCWSTR,int,int);
UINT
WINAPI
MsiDatabaseCommit
(
MSIHANDLE
);
/* install state */
UINT
WINAPI
MsiGetFeatureStateA
(
MSIHANDLE
,
LPSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
UINT
WINAPI
MsiGetFeatureStateW
(
MSIHANDLE
,
LPWSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
UINT
WINAPI
MsiGetFeatureStateA
(
MSIHANDLE
,
LP
C
STR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
UINT
WINAPI
MsiGetFeatureStateW
(
MSIHANDLE
,
LP
C
WSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
#define MsiGetFeatureState WINELIB_NAME_AW(MsiGetFeatureState)
UINT
WINAPI
MsiSetComponentStateA
(
MSIHANDLE
,
LPCSTR
,
INSTALLSTATE
);
UINT
WINAPI
MsiSetComponentStateW
(
MSIHANDLE
,
LPCWSTR
,
INSTALLSTATE
);
#define MsiSetComponentState WINELIB_NAME_AW(MsiSetComponentState)
UINT
WINAPI
MsiGetComponentStateA
(
MSIHANDLE
,
LPSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
UINT
WINAPI
MsiGetComponentStateW
(
MSIHANDLE
,
LPWSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
UINT
WINAPI
MsiGetComponentStateA
(
MSIHANDLE
,
LP
C
STR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
UINT
WINAPI
MsiGetComponentStateW
(
MSIHANDLE
,
LP
C
WSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
#define MsiGetComponentState WINELIB_NAME_AW(MsiGetComponentState)
MSICONDITION
WINAPI
MsiEvaluateConditionA
(
MSIHANDLE
,
LPCSTR
);
...
...
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