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
ff0f2b35
Commit
ff0f2b35
authored
Jun 14, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add tests for MsiLocateComponent and make them pass.
parent
b4674a3c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
msi.c
dlls/msi/msi.c
+6
-0
msi.c
dlls/msi/tests/msi.c
+0
-0
No files found.
dlls/msi/msi.c
View file @
ff0f2b35
...
...
@@ -2160,6 +2160,9 @@ INSTALLSTATE WINAPI MsiLocateComponentA(LPCSTR szComponent, LPSTR lpPathBuf,
TRACE
(
"%s %p %p
\n
"
,
debugstr_a
(
szComponent
),
lpPathBuf
,
pcchBuf
);
if
(
!
szComponent
||
!
pcchBuf
)
return
INSTALLSTATE_INVALIDARG
;
if
(
MsiGetProductCodeA
(
szComponent
,
szProduct
)
!=
ERROR_SUCCESS
)
return
INSTALLSTATE_UNKNOWN
;
...
...
@@ -2173,6 +2176,9 @@ INSTALLSTATE WINAPI MsiLocateComponentW(LPCWSTR szComponent, LPWSTR lpPathBuf,
TRACE
(
"%s %p %p
\n
"
,
debugstr_w
(
szComponent
),
lpPathBuf
,
pcchBuf
);
if
(
!
szComponent
||
!
pcchBuf
)
return
INSTALLSTATE_INVALIDARG
;
if
(
MsiGetProductCodeW
(
szComponent
,
szProduct
)
!=
ERROR_SUCCESS
)
return
INSTALLSTATE_UNKNOWN
;
...
...
dlls/msi/tests/msi.c
View file @
ff0f2b35
This diff is collapsed.
Click to expand it.
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