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
40769b4f
Commit
40769b4f
authored
Jul 01, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Mark IPersistStream_Save() as stub.
parent
2026a215
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
7 deletions
+43
-7
auditiontrack.c
dlls/dmstyle/auditiontrack.c
+13
-1
chordtrack.c
dlls/dmstyle/chordtrack.c
+8
-3
commandtrack.c
dlls/dmstyle/commandtrack.c
+8
-1
mutetrack.c
dlls/dmstyle/mutetrack.c
+13
-1
dmstyle.c
dlls/dmstyle/tests/dmstyle.c
+1
-1
No files found.
dlls/dmstyle/auditiontrack.c
View file @
40769b4f
...
...
@@ -242,6 +242,11 @@ static const IDirectMusicTrack8Vtbl dmtrack8_vtbl = {
IDirectMusicTrack8Impl_Join
};
static
inline
IDirectMusicAuditionTrack
*
impl_from_IPersistStream
(
IPersistStream
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicAuditionTrack
,
dmobj
.
IPersistStream_iface
);
}
static
HRESULT
WINAPI
IPersistStreamImpl_Load
(
IPersistStream
*
iface
,
IStream
*
stream
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
...
...
@@ -251,7 +256,14 @@ static HRESULT WINAPI IPersistStreamImpl_Load(IPersistStream *iface, IStream *st
static
HRESULT
WINAPI
IPersistStreamImpl_Save
(
IPersistStream
*
iface
,
IStream
*
stream
,
BOOL
cleardirty
)
{
return
E_NOTIMPL
;
IDirectMusicAuditionTrack
*
This
=
impl_from_IPersistStream
(
iface
);
FIXME
(
"(%p, %p, %d): stub
\n
"
,
This
,
stream
,
cleardirty
);
if
(
!
stream
)
return
E_POINTER
;
return
E_NOTIMPL
;
}
static
const
IPersistStreamVtbl
persiststream_vtbl
=
{
...
...
dlls/dmstyle/chordtrack.c
View file @
40769b4f
...
...
@@ -376,9 +376,14 @@ static HRESULT WINAPI IPersistStreamImpl_Load(IPersistStream *iface, IStream *pS
static
HRESULT
WINAPI
IPersistStreamImpl_Save
(
IPersistStream
*
iface
,
IStream
*
stream
,
BOOL
cleardirty
)
{
IDirectMusicChordTrack
*
This
=
impl_from_IPersistStream
(
iface
);
FIXME
(
"(%p): Saving not implemented yet
\n
"
,
This
);
return
E_NOTIMPL
;
IDirectMusicChordTrack
*
This
=
impl_from_IPersistStream
(
iface
);
FIXME
(
"(%p, %p, %d): stub
\n
"
,
This
,
stream
,
cleardirty
);
if
(
!
stream
)
return
E_POINTER
;
return
E_NOTIMPL
;
}
static
const
IPersistStreamVtbl
persiststream_vtbl
=
{
...
...
dlls/dmstyle/commandtrack.c
View file @
40769b4f
...
...
@@ -319,7 +319,14 @@ static HRESULT WINAPI IPersistStreamImpl_Load(IPersistStream *iface, IStream *pS
static
HRESULT
WINAPI
IPersistStreamImpl_Save
(
IPersistStream
*
iface
,
IStream
*
stream
,
BOOL
cleardirty
)
{
return
E_NOTIMPL
;
IDirectMusicCommandTrack
*
This
=
impl_from_IPersistStream
(
iface
);
FIXME
(
"(%p, %p, %d): stub
\n
"
,
This
,
stream
,
cleardirty
);
if
(
!
stream
)
return
E_POINTER
;
return
E_NOTIMPL
;
}
static
const
IPersistStreamVtbl
persiststream_vtbl
=
{
...
...
dlls/dmstyle/mutetrack.c
View file @
40769b4f
...
...
@@ -247,6 +247,11 @@ static const IDirectMusicTrack8Vtbl dmtrack8_vtbl = {
IDirectMusicTrack8Impl_Join
};
static
inline
IDirectMusicMuteTrack
*
impl_from_IPersistStream
(
IPersistStream
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicMuteTrack
,
dmobj
.
IPersistStream_iface
);
}
static
HRESULT
WINAPI
IPersistStreamImpl_Load
(
IPersistStream
*
iface
,
IStream
*
stream
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
...
...
@@ -256,7 +261,14 @@ static HRESULT WINAPI IPersistStreamImpl_Load(IPersistStream *iface, IStream *st
static
HRESULT
WINAPI
IPersistStreamImpl_Save
(
IPersistStream
*
iface
,
IStream
*
stream
,
BOOL
cleardirty
)
{
return
E_NOTIMPL
;
IDirectMusicMuteTrack
*
This
=
impl_from_IPersistStream
(
iface
);
FIXME
(
"(%p, %p, %d): stub
\n
"
,
This
,
stream
,
cleardirty
);
if
(
!
stream
)
return
E_POINTER
;
return
E_NOTIMPL
;
}
static
const
IPersistStreamVtbl
persiststream_vtbl
=
{
...
...
dlls/dmstyle/tests/dmstyle.c
View file @
40769b4f
...
...
@@ -339,7 +339,7 @@ static void test_track(void)
hr
=
IPersistStream_Save
(
ps
,
NULL
,
TRUE
);
if
(
class
[
i
].
has_save
)
todo_wine
ok
(
hr
==
E_POINTER
,
"IPersistStream_Save failed: %08x
\n
"
,
hr
);
ok
(
hr
==
E_POINTER
,
"IPersistStream_Save failed: %08x
\n
"
,
hr
);
else
ok
(
hr
==
E_NOTIMPL
,
"IPersistStream_Save 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