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
b9059997
Commit
b9059997
authored
Jul 03, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Implement the E_NOTIMPL methods in DMWaveTrack.
parent
4a9eb8bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
20 deletions
+38
-20
wavetrack.c
dlls/dmime/wavetrack.c
+38
-20
No files found.
dlls/dmime/wavetrack.c
View file @
b9059997
...
@@ -91,6 +91,11 @@ static const IUnknownVtbl DirectMusicWaveTrack_Unknown_Vtbl = {
...
@@ -91,6 +91,11 @@ static const IUnknownVtbl DirectMusicWaveTrack_Unknown_Vtbl = {
};
};
/* IDirectMusicWaveTrack IDirectMusicTrack8 part: */
/* IDirectMusicWaveTrack IDirectMusicTrack8 part: */
static
inline
IDirectMusicWaveTrack
*
impl_from_IDirectMusicTrack8
(
IDirectMusicTrack8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicWaveTrack
,
TrackVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
...
@@ -161,16 +166,22 @@ static HRESULT WINAPI IDirectMusicWaveTrack_IDirectMusicTrack_IsParamSupported (
...
@@ -161,16 +166,22 @@ static HRESULT WINAPI IDirectMusicWaveTrack_IDirectMusicTrack_IsParamSupported (
return
DMUS_E_TYPE_UNSUPPORTED
;
return
DMUS_E_TYPE_UNSUPPORTED
;
}
}
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
REFGUID
notiftype
)
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
{
return
S_OK
;
IDirectMusicWaveTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
notiftype
));
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
REFGUID
notiftype
)
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
{
return
S_OK
;
IDirectMusicWaveTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
notiftype
));
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
...
@@ -200,16 +211,23 @@ static HRESULT WINAPI IDirectMusicWaveTrack_IDirectMusicTrack_SetParamEx (LPDIRE
...
@@ -200,16 +211,23 @@ static HRESULT WINAPI IDirectMusicWaveTrack_IDirectMusicTrack_SetParamEx (LPDIRE
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
{
return
S_OK
;
IDirectMusicWaveTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p): method not implemented
\n
"
,
This
,
context
,
trackgroup
,
track
);
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Join
(
IDirectMusicTrack8
*
iface
,
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
IDirectMusicTrack
*
newtrack
,
MUSIC_TIME
join
,
IUnknown
*
context
,
DWORD
trackgroup
,
FIXME
(
"(%p, %p, %d, %p, %d, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
IDirectMusicTrack
**
resulttrack
)
return
S_OK
;
{
IDirectMusicWaveTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p, %d, %p): method not implemented
\n
"
,
This
,
newtrack
,
join
,
context
,
trackgroup
,
resulttrack
);
return
E_NOTIMPL
;
}
}
static
const
IDirectMusicTrack8Vtbl
DirectMusicWaveTrack_Track_Vtbl
=
{
static
const
IDirectMusicTrack8Vtbl
DirectMusicWaveTrack_Track_Vtbl
=
{
...
@@ -223,14 +241,14 @@ static const IDirectMusicTrack8Vtbl DirectMusicWaveTrack_Track_Vtbl = {
...
@@ -223,14 +241,14 @@ static const IDirectMusicTrack8Vtbl DirectMusicWaveTrack_Track_Vtbl = {
IDirectMusicWaveTrack_IDirectMusicTrack_GetParam
,
IDirectMusicWaveTrack_IDirectMusicTrack_GetParam
,
IDirectMusicWaveTrack_IDirectMusicTrack_SetParam
,
IDirectMusicWaveTrack_IDirectMusicTrack_SetParam
,
IDirectMusicWaveTrack_IDirectMusicTrack_IsParamSupported
,
IDirectMusicWaveTrack_IDirectMusicTrack_IsParamSupported
,
IDirectMusicWaveTrack_IDirectMusicTrack
_AddNotificationType
,
IDirectMusicTrack8Impl
_AddNotificationType
,
IDirectMusicWaveTrack_IDirectMusicTrack
_RemoveNotificationType
,
IDirectMusicTrack8Impl
_RemoveNotificationType
,
IDirectMusicWaveTrack_IDirectMusicTrack_Clone
,
IDirectMusicWaveTrack_IDirectMusicTrack_Clone
,
IDirectMusicWaveTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicWaveTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicWaveTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicWaveTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicWaveTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicWaveTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicWaveTrack_IDirectMusicTrack
_Compose
,
IDirectMusicTrack8Impl
_Compose
,
IDirectMusicWaveTrack_IDirectMusicTrack
_Join
IDirectMusicTrack8Impl
_Join
};
};
/* IDirectMusicWaveTrack IPersistStream part: */
/* IDirectMusicWaveTrack IPersistStream part: */
...
...
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