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
29fe7089
Commit
29fe7089
authored
Jan 17, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle/tests: Fix a crash on old dmusic versions.
parent
1318d578
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dmstyle.c
dlls/dmstyle/tests/dmstyle.c
+4
-0
No files found.
dlls/dmstyle/tests/dmstyle.c
View file @
29fe7089
...
...
@@ -64,6 +64,10 @@ static void test_COM(void)
/* Same refcount for all DirectMusicStyle8 interfaces */
hr
=
CoCreateInstance
(
&
CLSID_DirectMusicStyle
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IDirectMusicStyle8
,
(
void
**
)
&
dms8
);
if
(
hr
==
E_NOINTERFACE
)
{
win_skip
(
"Old version without IDirectMusicStyle8
\n
"
);
return
;
}
ok
(
hr
==
S_OK
,
"DirectMusicStyle8 create failed: %08x, expected S_OK
\n
"
,
hr
);
refcount
=
IDirectMusicStyle8_AddRef
(
dms8
);
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