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
7474a370
Commit
7474a370
authored
Dec 30, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic/tests: Don't crash with old dmusic versions.
parent
47cc78c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dmusic.c
dlls/dmusic/tests/dmusic.c
+5
-0
No files found.
dlls/dmusic/tests/dmusic.c
View file @
7474a370
...
...
@@ -245,6 +245,11 @@ static void test_COM(void)
/* Same refcount for DirectMusic and DirectMusic8 */
hr
=
CoCreateInstance
(
&
CLSID_DirectMusic
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IDirectMusic8
,
(
void
**
)
&
dm8
);
if
(
hr
==
E_NOINTERFACE
)
{
win_skip
(
"DirectMusic too old (no IDirectMusic8)
\n
"
);
return
;
}
ok
(
hr
==
S_OK
,
"DirectMusic8 create failed: %08x, expected S_OK
\n
"
,
hr
);
refcount
=
IDirectMusic8_AddRef
(
dm8
);
ok
(
refcount
==
2
,
"refcount == %u, expected 2
\n
"
,
refcount
);
...
...
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