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
da07fe99
Commit
da07fe99
authored
Jun 08, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dswave: Remove gratuitous IDirectMusicSegment8 from DirectSoundWave.
parent
a5ab896a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
dswave.c
dlls/dswave/dswave.c
+0
-0
dswave_private.h
dlls/dswave/dswave_private.h
+0
-1
dswave.c
dlls/dswave/tests/dswave.c
+3
-3
No files found.
dlls/dswave/dswave.c
View file @
da07fe99
This diff is collapsed.
Click to expand it.
dlls/dswave/dswave_private.h
View file @
da07fe99
...
@@ -57,7 +57,6 @@ extern HRESULT WINAPI create_dswave(REFIID lpcGUID, void **ret_iface) DECLSPEC_H
...
@@ -57,7 +57,6 @@ extern HRESULT WINAPI create_dswave(REFIID lpcGUID, void **ret_iface) DECLSPEC_H
struct
IDirectMusicWaveImpl
{
struct
IDirectMusicWaveImpl
{
/* IUnknown fields */
/* IUnknown fields */
const
IUnknownVtbl
*
UnknownVtbl
;
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicSegment8Vtbl
*
SegmentVtbl
;
const
IDirectMusicObjectVtbl
*
ObjectVtbl
;
const
IDirectMusicObjectVtbl
*
ObjectVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
LONG
ref
;
...
...
dlls/dswave/tests/dswave.c
View file @
da07fe99
...
@@ -56,7 +56,7 @@ static void test_COM(void)
...
@@ -56,7 +56,7 @@ static void test_COM(void)
/* Invalid RIID */
/* Invalid RIID */
hr
=
CoCreateInstance
(
&
CLSID_DirectSoundWave
,
NULL
,
CLSCTX_INPROC_SERVER
,
hr
=
CoCreateInstance
(
&
CLSID_DirectSoundWave
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IDirectMusicSegment8
,
(
void
**
)
&
dmo
);
&
IID_IDirectMusicSegment8
,
(
void
**
)
&
dmo
);
todo_wine
ok
(
hr
==
E_NOINTERFACE
,
"DirectSoundWave create failed: %08x, expected E_NOINTERFACE
\n
"
,
hr
);
ok
(
hr
==
E_NOINTERFACE
,
"DirectSoundWave create failed: %08x, expected E_NOINTERFACE
\n
"
,
hr
);
/* Same refcount for all DirectSoundWave interfaces */
/* Same refcount for all DirectSoundWave interfaces */
hr
=
CoCreateInstance
(
&
CLSID_DirectSoundWave
,
NULL
,
CLSCTX_INPROC_SERVER
,
hr
=
CoCreateInstance
(
&
CLSID_DirectSoundWave
,
NULL
,
CLSCTX_INPROC_SERVER
,
...
@@ -79,9 +79,9 @@ static void test_COM(void)
...
@@ -79,9 +79,9 @@ static void test_COM(void)
/* Interfaces that native does not support */
/* Interfaces that native does not support */
hr
=
IDirectMusicObject_QueryInterface
(
dmo
,
&
IID_IDirectMusicSegment
,
(
void
**
)
&
unk
);
hr
=
IDirectMusicObject_QueryInterface
(
dmo
,
&
IID_IDirectMusicSegment
,
(
void
**
)
&
unk
);
todo_wine
ok
(
hr
==
E_NOINTERFACE
,
"QueryInterface for IID_IDirectMusicSegment failed: %08x
\n
"
,
hr
);
ok
(
hr
==
E_NOINTERFACE
,
"QueryInterface for IID_IDirectMusicSegment failed: %08x
\n
"
,
hr
);
hr
=
IDirectMusicObject_QueryInterface
(
dmo
,
&
IID_IDirectMusicSegment8
,
(
void
**
)
&
unk
);
hr
=
IDirectMusicObject_QueryInterface
(
dmo
,
&
IID_IDirectMusicSegment8
,
(
void
**
)
&
unk
);
todo_wine
ok
(
hr
==
E_NOINTERFACE
,
"QueryInterface for IID_IDirectMusicSegment8 failed: %08x
\n
"
,
hr
);
ok
(
hr
==
E_NOINTERFACE
,
"QueryInterface for IID_IDirectMusicSegment8 failed: %08x
\n
"
,
hr
);
while
(
IDirectMusicObject_Release
(
dmo
));
while
(
IDirectMusicObject_Release
(
dmo
));
}
}
...
...
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