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
ec5ae81c
Commit
ec5ae81c
authored
Feb 22, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make msi_reset_folders static.
parent
3138ba0d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
20 deletions
+19
-20
helpers.c
dlls/msi/helpers.c
+0
-19
msipriv.h
dlls/msi/msipriv.h
+0
-1
package.c
dlls/msi/package.c
+19
-0
No files found.
dlls/msi/helpers.c
View file @
ec5ae81c
...
...
@@ -156,25 +156,6 @@ MSIFOLDER *get_loaded_folder( MSIPACKAGE *package, LPCWSTR dir )
return
NULL
;
}
void
msi_reset_folders
(
MSIPACKAGE
*
package
,
BOOL
source
)
{
MSIFOLDER
*
folder
;
LIST_FOR_EACH_ENTRY
(
folder
,
&
package
->
folders
,
MSIFOLDER
,
entry
)
{
if
(
source
)
{
msi_free
(
folder
->
ResolvedSource
);
folder
->
ResolvedSource
=
NULL
;
}
else
{
msi_free
(
folder
->
ResolvedTarget
);
folder
->
ResolvedTarget
=
NULL
;
}
}
}
static
LPWSTR
get_source_root
(
MSIPACKAGE
*
package
)
{
LPWSTR
path
,
p
;
...
...
dlls/msi/msipriv.h
View file @
ec5ae81c
...
...
@@ -975,7 +975,6 @@ extern MSICOMPONENT *get_loaded_component( MSIPACKAGE* package, LPCWSTR Componen
extern
MSIFEATURE
*
get_loaded_feature
(
MSIPACKAGE
*
package
,
LPCWSTR
Feature
);
extern
MSIFILE
*
get_loaded_file
(
MSIPACKAGE
*
package
,
LPCWSTR
file
);
extern
MSIFOLDER
*
get_loaded_folder
(
MSIPACKAGE
*
package
,
LPCWSTR
dir
);
extern
void
msi_reset_folders
(
MSIPACKAGE
*
package
,
BOOL
source
);
extern
int
track_tempfile
(
MSIPACKAGE
*
package
,
LPCWSTR
path
);
extern
UINT
schedule_action
(
MSIPACKAGE
*
package
,
UINT
script
,
LPCWSTR
action
);
extern
void
msi_free_action_script
(
MSIPACKAGE
*
package
,
UINT
script
);
...
...
dlls/msi/package.c
View file @
ec5ae81c
...
...
@@ -1621,6 +1621,25 @@ end:
return
r
;
}
static
void
msi_reset_folders
(
MSIPACKAGE
*
package
,
BOOL
source
)
{
MSIFOLDER
*
folder
;
LIST_FOR_EACH_ENTRY
(
folder
,
&
package
->
folders
,
MSIFOLDER
,
entry
)
{
if
(
source
)
{
msi_free
(
folder
->
ResolvedSource
);
folder
->
ResolvedSource
=
NULL
;
}
else
{
msi_free
(
folder
->
ResolvedTarget
);
folder
->
ResolvedTarget
=
NULL
;
}
}
}
UINT
MSI_SetPropertyW
(
MSIPACKAGE
*
package
,
LPCWSTR
szName
,
LPCWSTR
szValue
)
{
MSIQUERY
*
view
;
...
...
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