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
a1dbf4d7
Commit
a1dbf4d7
authored
Jun 30, 2015
by
Bernhard Übelacker
Committed by
Alexandre Julliard
Jul 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove shortcut which calls RegEnumValueW with value and val_count as NULL.
parent
db5f235a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
source.c
dlls/msi/source.c
+0
-7
source.c
dlls/msi/tests/source.c
+0
-2
No files found.
dlls/msi/source.c
View file @
a1dbf4d7
...
...
@@ -258,13 +258,6 @@ UINT WINAPI MsiSourceListEnumMediaDisksW(LPCWSTR szProductCodeOrPatchCode,
return
ERROR_NO_MORE_ITEMS
;
}
if
(
!
pcchVolumeLabel
&&
!
pcchDiskPrompt
)
{
r
=
RegEnumValueW
(
media
,
dwIndex
,
NULL
,
NULL
,
NULL
,
&
type
,
NULL
,
NULL
);
goto
done
;
}
res
=
RegQueryInfoKeyW
(
media
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
&
numvals
,
&
valuesz
,
&
datasz
,
NULL
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
...
...
dlls/msi/tests/source.c
View file @
a1dbf4d7
...
...
@@ -2896,7 +2896,6 @@ static void test_MsiSourceListEnumMediaDisks(void)
NULL
,
NULL
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
!
lstrcmpA
(
label
,
"aaa"
),
"Expected
\"
aaa
\"
, got
\"
%s
\"\n
"
,
label
);
todo_wine
ok
(
id
==
1
,
"Expected 1, got %d
\n
"
,
id
);
/* szVolumeLabel, pcchVolumeLabel, szDiskPrompt and pcchDiskPrompt are NULL */
...
...
@@ -2905,7 +2904,6 @@ static void test_MsiSourceListEnumMediaDisks(void)
MSICODE_PRODUCT
,
0
,
&
id
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
todo_wine
ok
(
id
==
1
,
"Expected 1, got %d
\n
"
,
id
);
/* pcchVolumeLabel is exactly 5 */
...
...
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