Commit 6cbd743b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmband: Implement the E_NOTIMPL methods of IDirectMusicTrack8.

parent 6e98db3d
...@@ -91,6 +91,11 @@ static const IUnknownVtbl DirectMusicBandTrack_Unknown_Vtbl = { ...@@ -91,6 +91,11 @@ static const IUnknownVtbl DirectMusicBandTrack_Unknown_Vtbl = {
}; };
/* IDirectMusicBandTrack IDirectMusicTrack8 part: */ /* IDirectMusicBandTrack IDirectMusicTrack8 part: */
static inline IDirectMusicBandTrack *impl_from_IDirectMusicTrack8(IDirectMusicTrack8 *iface)
{
return CONTAINING_RECORD(iface, IDirectMusicBandTrack, TrackVtbl);
}
static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj) { static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj) {
ICOM_THIS_MULTI(IDirectMusicBandTrack, TrackVtbl, iface); ICOM_THIS_MULTI(IDirectMusicBandTrack, TrackVtbl, iface);
return IUnknown_QueryInterface ((LPUNKNOWN)&This->UnknownVtbl, riid, ppobj); return IUnknown_QueryInterface ((LPUNKNOWN)&This->UnknownVtbl, riid, ppobj);
...@@ -182,16 +187,22 @@ static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_IsParamSupported ( ...@@ -182,16 +187,22 @@ static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_IsParamSupported (
return DMUS_E_TYPE_UNSUPPORTED; return DMUS_E_TYPE_UNSUPPORTED;
} }
static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_AddNotificationType (LPDIRECTMUSICTRACK8 iface, REFGUID rguidNotificationType) { static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTrack8 *iface,
ICOM_THIS_MULTI(IDirectMusicBandTrack, TrackVtbl, iface); REFGUID notiftype)
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType)); {
return S_OK; IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(notiftype));
return E_NOTIMPL;
} }
static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_RemoveNotificationType (LPDIRECTMUSICTRACK8 iface, REFGUID rguidNotificationType) { static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusicTrack8 *iface,
ICOM_THIS_MULTI(IDirectMusicBandTrack, TrackVtbl, iface); REFGUID notiftype)
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType)); {
return S_OK; IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(notiftype));
return E_NOTIMPL;
} }
static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_Clone (LPDIRECTMUSICTRACK8 iface, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack) { static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_Clone (LPDIRECTMUSICTRACK8 iface, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack) {
...@@ -230,10 +241,13 @@ static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_SetParamEx(LPDIREC ...@@ -230,10 +241,13 @@ static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_SetParamEx(LPDIREC
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_Compose (LPDIRECTMUSICTRACK8 iface, IUnknown* pContext, DWORD dwTrackGroup, IDirectMusicTrack** ppResultTrack) { static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface, IUnknown *context,
ICOM_THIS_MULTI(IDirectMusicBandTrack, TrackVtbl, iface); DWORD trackgroup, IDirectMusicTrack **track)
FIXME("(%p, %p, %d, %p): stub\n", This, pContext, dwTrackGroup, ppResultTrack); {
return S_OK; IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
TRACE("(%p, %p, %d, %p): method not implemented\n", This, context, trackgroup, track);
return E_NOTIMPL;
} }
static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_Join (LPDIRECTMUSICTRACK8 iface, IDirectMusicTrack* pNewTrack, MUSIC_TIME mtJoin, IUnknown* pContext, DWORD dwTrackGroup, IDirectMusicTrack** ppResultTrack) { static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_Join (LPDIRECTMUSICTRACK8 iface, IDirectMusicTrack* pNewTrack, MUSIC_TIME mtJoin, IUnknown* pContext, DWORD dwTrackGroup, IDirectMusicTrack** ppResultTrack) {
...@@ -243,24 +257,24 @@ static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_Join (LPDIRECTMUSI ...@@ -243,24 +257,24 @@ static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_Join (LPDIRECTMUSI
} }
static const IDirectMusicTrack8Vtbl DirectMusicBandTrack_DirectMusicTrack_Vtbl = { static const IDirectMusicTrack8Vtbl DirectMusicBandTrack_DirectMusicTrack_Vtbl = {
IDirectMusicBandTrack_IDirectMusicTrack_QueryInterface, IDirectMusicBandTrack_IDirectMusicTrack_QueryInterface,
IDirectMusicBandTrack_IDirectMusicTrack_AddRef, IDirectMusicBandTrack_IDirectMusicTrack_AddRef,
IDirectMusicBandTrack_IDirectMusicTrack_Release, IDirectMusicBandTrack_IDirectMusicTrack_Release,
IDirectMusicBandTrack_IDirectMusicTrack_Init, IDirectMusicBandTrack_IDirectMusicTrack_Init,
IDirectMusicBandTrack_IDirectMusicTrack_InitPlay, IDirectMusicBandTrack_IDirectMusicTrack_InitPlay,
IDirectMusicBandTrack_IDirectMusicTrack_EndPlay, IDirectMusicBandTrack_IDirectMusicTrack_EndPlay,
IDirectMusicBandTrack_IDirectMusicTrack_Play, IDirectMusicBandTrack_IDirectMusicTrack_Play,
IDirectMusicBandTrack_IDirectMusicTrack_GetParam, IDirectMusicBandTrack_IDirectMusicTrack_GetParam,
IDirectMusicBandTrack_IDirectMusicTrack_SetParam, IDirectMusicBandTrack_IDirectMusicTrack_SetParam,
IDirectMusicBandTrack_IDirectMusicTrack_IsParamSupported, IDirectMusicBandTrack_IDirectMusicTrack_IsParamSupported,
IDirectMusicBandTrack_IDirectMusicTrack_AddNotificationType, IDirectMusicTrack8Impl_AddNotificationType,
IDirectMusicBandTrack_IDirectMusicTrack_RemoveNotificationType, IDirectMusicTrack8Impl_RemoveNotificationType,
IDirectMusicBandTrack_IDirectMusicTrack_Clone, IDirectMusicBandTrack_IDirectMusicTrack_Clone,
IDirectMusicBandTrack_IDirectMusicTrack_PlayEx, IDirectMusicBandTrack_IDirectMusicTrack_PlayEx,
IDirectMusicBandTrack_IDirectMusicTrack_GetParamEx, IDirectMusicBandTrack_IDirectMusicTrack_GetParamEx,
IDirectMusicBandTrack_IDirectMusicTrack_SetParamEx, IDirectMusicBandTrack_IDirectMusicTrack_SetParamEx,
IDirectMusicBandTrack_IDirectMusicTrack_Compose, IDirectMusicTrack8Impl_Compose,
IDirectMusicBandTrack_IDirectMusicTrack_Join IDirectMusicBandTrack_IDirectMusicTrack_Join
}; };
/* IDirectMusicBandTrack IPersistStream part: */ /* IDirectMusicBandTrack IPersistStream part: */
......
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