Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
770f7de1
Commit
770f7de1
authored
Jun 10, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dswave/tests: Check for the private interface in DirectSoundWave.
parent
eca362bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
dswave.c
dlls/dswave/tests/dswave.c
+11
-0
No files found.
dlls/dswave/tests/dswave.c
View file @
770f7de1
...
...
@@ -24,6 +24,9 @@
#include <wine/test.h>
#include <dmusici.h>
DEFINE_GUID
(
IID_IDirectMusicWavePRIVATE
,
0x69e934e4
,
0x97f1
,
0x4f1d
,
0x88
,
0xe8
,
0xf2
,
0xac
,
0x88
,
0x67
,
0x13
,
0x27
);
static
BOOL
missing_dswave
(
void
)
{
IDirectMusicObject
*
dmo
;
...
...
@@ -77,6 +80,14 @@ static void test_COM(void)
ok
(
refcount
==
5
,
"refcount == %u, expected 5
\n
"
,
refcount
);
refcount
=
IUnknown_Release
(
unk
);
hr
=
IDirectMusicObject_QueryInterface
(
dmo
,
&
IID_IDirectMusicWavePRIVATE
,
(
void
**
)
&
unk
);
todo_wine
ok
(
hr
==
S_OK
,
"QueryInterface for IID_IDirectMusicWavePRIVATE failed: %08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
{
refcount
=
IUnknown_AddRef
(
unk
);
ok
(
refcount
==
6
,
"refcount == %u, expected 6
\n
"
,
refcount
);
refcount
=
IUnknown_Release
(
unk
);
}
/* Interfaces that native does not support */
hr
=
IDirectMusicObject_QueryInterface
(
dmo
,
&
IID_IDirectMusicSegment
,
(
void
**
)
&
unk
);
ok
(
hr
==
E_NOINTERFACE
,
"QueryInterface for IID_IDirectMusicSegment failed: %08x
\n
"
,
hr
);
...
...
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