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
9ceb9720
Commit
9ceb9720
authored
Mar 20, 2019
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Mar 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenum/tests: Accept ERROR_KEY_DOES_NOT_EXIST from IPropertyBag_Read.
Signed-off-by:
Detlef Riekenberg
<
wine.dev@web.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5fa06bbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
devenum.c
dlls/devenum/tests/devenum.c
+3
-1
No files found.
dlls/devenum/tests/devenum.c
View file @
9ceb9720
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include "mmddk.h"
#include "mmddk.h"
#include "vfw.h"
#include "vfw.h"
#include "dmoreg.h"
#include "dmoreg.h"
#include "setupapi.h"
DEFINE_GUID
(
GUID_NULL
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
DEFINE_GUID
(
GUID_NULL
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
...
@@ -122,7 +123,8 @@ static void test_devenum(IBindCtx *bind_ctx)
...
@@ -122,7 +123,8 @@ static void test_devenum(IBindCtx *bind_ctx)
ok
(
hr
==
S_OK
,
"IMoniker_BindToStorage failed with error %x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"IMoniker_BindToStorage failed with error %x
\n
"
,
hr
);
hr
=
IPropertyBag_Read
(
prop_bag
,
friendly_name
,
&
var
,
NULL
);
hr
=
IPropertyBag_Read
(
prop_bag
,
friendly_name
,
&
var
,
NULL
);
ok
(
hr
==
S_OK
,
"IPropertyBag_Read failed: %#x
\n
"
,
hr
);
ok
((
hr
==
S_OK
)
|
(
hr
==
ERROR_KEY_DOES_NOT_EXIST
),
"IPropertyBag_Read failed: %#x
\n
"
,
hr
);
if
(
winetest_debug
>
1
)
if
(
winetest_debug
>
1
)
trace
(
" %s %s
\n
"
,
wine_dbgstr_w
(
displayname
),
wine_dbgstr_w
(
V_BSTR
(
&
var
)));
trace
(
" %s %s
\n
"
,
wine_dbgstr_w
(
displayname
),
wine_dbgstr_w
(
V_BSTR
(
&
var
)));
...
...
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