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
ca475820
Commit
ca475820
authored
Jul 08, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jul 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Parse the MSIDBOPEN_PATCHFILE flag.
parent
ccd030c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
database.c
dlls/msi/database.c
+7
-0
msiquery.h
include/msiquery.h
+2
-0
No files found.
dlls/msi/database.c
View file @
ca475820
...
...
@@ -90,6 +90,13 @@ UINT MSI_OpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIDATABASE **pdb)
if
(
!
pdb
)
return
ERROR_INVALID_PARAMETER
;
if
(
szPersist
-
MSIDBOPEN_PATCHFILE
>=
MSIDBOPEN_READONLY
&&
szPersist
-
MSIDBOPEN_PATCHFILE
<=
MSIDBOPEN_CREATEDIRECT
)
{
TRACE
(
"Database is a patch
\n
"
);
szPersist
-=
MSIDBOPEN_PATCHFILE
;
}
save_path
=
szDBPath
;
szMode
=
szPersist
;
if
(
HIWORD
(
szPersist
)
)
...
...
include/msiquery.h
View file @
ca475820
...
...
@@ -75,6 +75,8 @@ typedef enum tagMSIMODIFY
#define MSIDBOPEN_CREATEDIRECT (LPCWSTR)4
#endif
#define MSIDBOPEN_PATCHFILE 32 / sizeof(*MSIDBOPEN_READONLY)
typedef
enum
tagMSIRUNMODE
{
MSIRUNMODE_ADMIN
=
0
,
...
...
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