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
881ef984
Commit
881ef984
authored
May 05, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
May 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Forward MsiDetermineApplicablePatchesA to MsiDetermineApplicablePatchesW.
parent
072ecdf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
3 deletions
+36
-3
msi.c
dlls/msi/msi.c
+36
-3
No files found.
dlls/msi/msi.c
View file @
881ef984
...
...
@@ -486,10 +486,43 @@ UINT WINAPI MsiApplyMultiplePatchesW(LPCWSTR szPatchPackages,
UINT
WINAPI
MsiDetermineApplicablePatchesA
(
LPCSTR
szProductPackagePath
,
DWORD
cPatchInfo
,
PMSIPATCHSEQUENCEINFOA
pPatchInfo
)
{
FIXME
(
"(%s, %d, %p): stub!
\n
"
,
debugstr_a
(
szProductPackagePath
),
cPatchInfo
,
pPatchInfo
);
UINT
i
,
r
;
WCHAR
*
package_path
=
NULL
;
MSIPATCHSEQUENCEINFOW
*
psi
;
return
ERROR_CALL_NOT_IMPLEMENTED
;
TRACE
(
"(%s, %d, %p)
\n
"
,
debugstr_a
(
szProductPackagePath
),
cPatchInfo
,
pPatchInfo
);
if
(
szProductPackagePath
&&
!
(
package_path
=
strdupAtoW
(
szProductPackagePath
)))
return
ERROR_OUTOFMEMORY
;
psi
=
msi_alloc
(
cPatchInfo
*
sizeof
(
*
psi
)
);
if
(
!
psi
)
{
msi_free
(
package_path
);
return
ERROR_OUTOFMEMORY
;
}
for
(
i
=
0
;
i
<
cPatchInfo
;
i
++
)
{
psi
[
i
].
szPatchData
=
strdupAtoW
(
pPatchInfo
[
i
].
szPatchData
);
psi
[
i
].
ePatchDataType
=
pPatchInfo
[
i
].
ePatchDataType
;
}
r
=
MsiDetermineApplicablePatchesW
(
package_path
,
cPatchInfo
,
psi
);
if
(
r
==
ERROR_SUCCESS
)
{
for
(
i
=
0
;
i
<
cPatchInfo
;
i
++
)
{
pPatchInfo
[
i
].
dwOrder
=
psi
[
i
].
dwOrder
;
pPatchInfo
[
i
].
uStatus
=
psi
[
i
].
uStatus
;
}
}
msi_free
(
package_path
);
for
(
i
=
0
;
i
<
cPatchInfo
;
i
++
)
msi_free
(
(
WCHAR
*
)
psi
[
i
].
szPatchData
);
msi_free
(
psi
);
return
r
;
}
static
UINT
MSI_ApplicablePatchW
(
MSIPACKAGE
*
package
,
LPCWSTR
patch
)
...
...
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