Commit f9dff8f1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmscript: Implement unimplemented Script track methods.

parent c56116aa
...@@ -149,20 +149,22 @@ static HRESULT WINAPI script_track_IsParamSupported(IDirectMusicTrack8 *iface, R ...@@ -149,20 +149,22 @@ static HRESULT WINAPI script_track_IsParamSupported(IDirectMusicTrack8 *iface, R
return DMUS_E_TYPE_UNSUPPORTED; return DMUS_E_TYPE_UNSUPPORTED;
} }
static HRESULT WINAPI script_track_AddNotificationType(IDirectMusicTrack8 *iface, static HRESULT WINAPI script_track_AddNotificationType(IDirectMusicTrack8 *iface, REFGUID type)
REFGUID rguidNotificationType)
{ {
DirectMusicScriptTrack *This = impl_from_IDirectMusicTrack8(iface); DirectMusicScriptTrack *This = impl_from_IDirectMusicTrack8(iface);
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType));
return S_OK; TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(type));
return E_NOTIMPL;
} }
static HRESULT WINAPI script_track_RemoveNotificationType(IDirectMusicTrack8 *iface, static HRESULT WINAPI script_track_RemoveNotificationType(IDirectMusicTrack8 *iface, REFGUID type)
REFGUID rguidNotificationType)
{ {
DirectMusicScriptTrack *This = impl_from_IDirectMusicTrack8(iface); DirectMusicScriptTrack *This = impl_from_IDirectMusicTrack8(iface);
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType));
return S_OK; TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(type));
return E_NOTIMPL;
} }
static HRESULT WINAPI script_track_Clone(IDirectMusicTrack8 *iface, MUSIC_TIME mtStart, static HRESULT WINAPI script_track_Clone(IDirectMusicTrack8 *iface, MUSIC_TIME mtStart,
...@@ -202,21 +204,25 @@ static HRESULT WINAPI script_track_SetParamEx(IDirectMusicTrack8 *iface, REFGUID ...@@ -202,21 +204,25 @@ static HRESULT WINAPI script_track_SetParamEx(IDirectMusicTrack8 *iface, REFGUID
return S_OK; return S_OK;
} }
static HRESULT WINAPI script_track_Compose(IDirectMusicTrack8 *iface, IUnknown *pContext, static HRESULT WINAPI script_track_Compose(IDirectMusicTrack8 *iface, IUnknown *context,
DWORD dwTrackGroup, IDirectMusicTrack **ppResultTrack) DWORD group, IDirectMusicTrack **res_track)
{ {
DirectMusicScriptTrack *This = impl_from_IDirectMusicTrack8(iface); DirectMusicScriptTrack *This = impl_from_IDirectMusicTrack8(iface);
FIXME("(%p, %p, %d, %p): stub\n", This, pContext, dwTrackGroup, ppResultTrack);
return S_OK; TRACE("(%p, %p, %d, %p): method not implemented\n", This, context, group, res_track);
return E_NOTIMPL;
} }
static HRESULT WINAPI script_track_Join(IDirectMusicTrack8 *iface, IDirectMusicTrack *pNewTrack, static HRESULT WINAPI script_track_Join(IDirectMusicTrack8 *iface, IDirectMusicTrack *track2,
MUSIC_TIME mtJoin, IUnknown *pContext, DWORD dwTrackGroup, MUSIC_TIME join, IUnknown *context, DWORD group, IDirectMusicTrack **res_track)
IDirectMusicTrack **ppResultTrack)
{ {
DirectMusicScriptTrack *This = impl_from_IDirectMusicTrack8(iface); DirectMusicScriptTrack *This = impl_from_IDirectMusicTrack8(iface);
FIXME("(%p, %p, %d, %p, %d, %p): stub\n", This, pNewTrack, mtJoin, pContext, dwTrackGroup, ppResultTrack);
return S_OK; TRACE("(%p, %p, %d, %p, %d, %p): method not implemented\n", This, track2, join, context,
group, res_track);
return E_NOTIMPL;
} }
static const IDirectMusicTrack8Vtbl dmtrack8_vtbl = { static const IDirectMusicTrack8Vtbl dmtrack8_vtbl = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment