dmime: Implement the remaining E_NOTIMPL methods of IDirectMusicTrack8.
This commit is contained in:
parent
660021d0fc
commit
8e959e1203
|
@ -91,6 +91,11 @@ static const IUnknownVtbl DirectMusicSegTriggerTrack_Unknown_Vtbl = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* IDirectMusicSegTriggerTrack IDirectMusicTrack8 part: */
|
/* IDirectMusicSegTriggerTrack IDirectMusicTrack8 part: */
|
||||||
|
static inline IDirectMusicSegTriggerTrack *impl_from_IDirectMusicTrack8(IDirectMusicTrack8 *iface)
|
||||||
|
{
|
||||||
|
return CONTAINING_RECORD(iface, IDirectMusicSegTriggerTrack, TrackVtbl);
|
||||||
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj) {
|
static HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj) {
|
||||||
ICOM_THIS_MULTI(IDirectMusicSegTriggerTrack, TrackVtbl, iface);
|
ICOM_THIS_MULTI(IDirectMusicSegTriggerTrack, TrackVtbl, iface);
|
||||||
return IUnknown_QueryInterface ((LPUNKNOWN)&This->UnknownVtbl, riid, ppobj);
|
return IUnknown_QueryInterface ((LPUNKNOWN)&This->UnknownVtbl, riid, ppobj);
|
||||||
|
@ -155,16 +160,22 @@ static HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_IsParamSuppo
|
||||||
return DMUS_E_TYPE_UNSUPPORTED;
|
return DMUS_E_TYPE_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_AddNotificationType (LPDIRECTMUSICTRACK8 iface, REFGUID rguidNotificationType) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTrack8 *iface,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSegTriggerTrack, TrackVtbl, iface);
|
REFGUID notiftype)
|
||||||
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType));
|
{
|
||||||
return S_OK;
|
IDirectMusicSegTriggerTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(notiftype));
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_RemoveNotificationType (LPDIRECTMUSICTRACK8 iface, REFGUID rguidNotificationType) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusicTrack8 *iface,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSegTriggerTrack, TrackVtbl, iface);
|
REFGUID notiftype)
|
||||||
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType));
|
{
|
||||||
return S_OK;
|
IDirectMusicSegTriggerTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(notiftype));
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_Clone (LPDIRECTMUSICTRACK8 iface, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack) {
|
static HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_Clone (LPDIRECTMUSICTRACK8 iface, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack) {
|
||||||
|
@ -194,16 +205,23 @@ static HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_SetParamEx (
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_Compose (LPDIRECTMUSICTRACK8 iface, IUnknown* pContext, DWORD dwTrackGroup, IDirectMusicTrack** ppResultTrack) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface, IUnknown *context,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSegTriggerTrack, TrackVtbl, iface);
|
DWORD trackgroup, IDirectMusicTrack **track)
|
||||||
FIXME("(%p, %p, %d, %p): stub\n", This, pContext, dwTrackGroup, ppResultTrack);
|
{
|
||||||
return S_OK;
|
IDirectMusicSegTriggerTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %p, %d, %p): method not implemented\n", This, context, trackgroup, track);
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSegTriggerTrack_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(IDirectMusicSegTriggerTrack, 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;
|
{
|
||||||
|
IDirectMusicSegTriggerTrack *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 DirectMusicSegTriggerTrack_Track_Vtbl = {
|
static const IDirectMusicTrack8Vtbl DirectMusicSegTriggerTrack_Track_Vtbl = {
|
||||||
|
@ -217,14 +235,14 @@ static const IDirectMusicTrack8Vtbl DirectMusicSegTriggerTrack_Track_Vtbl = {
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_GetParam,
|
IDirectMusicSegTriggerTrack_IDirectMusicTrack_GetParam,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_SetParam,
|
IDirectMusicSegTriggerTrack_IDirectMusicTrack_SetParam,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_IsParamSupported,
|
IDirectMusicSegTriggerTrack_IDirectMusicTrack_IsParamSupported,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_AddNotificationType,
|
IDirectMusicTrack8Impl_AddNotificationType,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_RemoveNotificationType,
|
IDirectMusicTrack8Impl_RemoveNotificationType,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Clone,
|
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Clone,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_PlayEx,
|
IDirectMusicSegTriggerTrack_IDirectMusicTrack_PlayEx,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_GetParamEx,
|
IDirectMusicSegTriggerTrack_IDirectMusicTrack_GetParamEx,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_SetParamEx,
|
IDirectMusicSegTriggerTrack_IDirectMusicTrack_SetParamEx,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Compose,
|
IDirectMusicTrack8Impl_Compose,
|
||||||
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Join
|
IDirectMusicTrack8Impl_Join
|
||||||
};
|
};
|
||||||
|
|
||||||
/* IDirectMusicSegTriggerTrack IPersistStream part: */
|
/* IDirectMusicSegTriggerTrack IPersistStream part: */
|
||||||
|
|
|
@ -92,6 +92,11 @@ static const IUnknownVtbl DirectMusicTempoTrack_Unknown_Vtbl = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* IDirectMusicTempoTrack IDirectMusicTrack8 part: */
|
/* IDirectMusicTempoTrack IDirectMusicTrack8 part: */
|
||||||
|
static inline IDirectMusicTempoTrack *impl_from_IDirectMusicTrack8(IDirectMusicTrack8 *iface)
|
||||||
|
{
|
||||||
|
return CONTAINING_RECORD(iface, IDirectMusicTempoTrack, TrackVtbl);
|
||||||
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj) {
|
static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj) {
|
||||||
ICOM_THIS_MULTI(IDirectMusicTempoTrack, TrackVtbl, iface);
|
ICOM_THIS_MULTI(IDirectMusicTempoTrack, TrackVtbl, iface);
|
||||||
return IUnknown_QueryInterface ((LPUNKNOWN)&This->UnknownVtbl, riid, ppobj);
|
return IUnknown_QueryInterface ((LPUNKNOWN)&This->UnknownVtbl, riid, ppobj);
|
||||||
|
@ -228,16 +233,22 @@ static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_IsParamSupported
|
||||||
return DMUS_E_TYPE_UNSUPPORTED;
|
return DMUS_E_TYPE_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_AddNotificationType (LPDIRECTMUSICTRACK8 iface, REFGUID rguidNotificationType) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTrack8 *iface,
|
||||||
ICOM_THIS_MULTI(IDirectMusicTempoTrack, TrackVtbl, iface);
|
REFGUID notiftype)
|
||||||
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType));
|
{
|
||||||
return S_OK;
|
IDirectMusicTempoTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(notiftype));
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_RemoveNotificationType (LPDIRECTMUSICTRACK8 iface, REFGUID rguidNotificationType) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusicTrack8 *iface,
|
||||||
ICOM_THIS_MULTI(IDirectMusicTempoTrack, TrackVtbl, iface);
|
REFGUID notiftype)
|
||||||
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType));
|
{
|
||||||
return S_OK;
|
IDirectMusicTempoTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(notiftype));
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_Clone (LPDIRECTMUSICTRACK8 iface, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack) {
|
static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_Clone (LPDIRECTMUSICTRACK8 iface, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack) {
|
||||||
|
@ -267,10 +278,13 @@ static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_SetParamEx (LPDIR
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_Compose (LPDIRECTMUSICTRACK8 iface, IUnknown* pContext, DWORD dwTrackGroup, IDirectMusicTrack** ppResultTrack) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface, IUnknown *context,
|
||||||
ICOM_THIS_MULTI(IDirectMusicTempoTrack, TrackVtbl, iface);
|
DWORD trackgroup, IDirectMusicTrack **track)
|
||||||
FIXME("(%p, %p, %d, %p): stub\n", This, pContext, dwTrackGroup, ppResultTrack);
|
{
|
||||||
return S_OK;
|
IDirectMusicTempoTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %p, %d, %p): method not implemented\n", This, context, trackgroup, track);
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_Join (LPDIRECTMUSICTRACK8 iface, IDirectMusicTrack* pNewTrack, MUSIC_TIME mtJoin, IUnknown* pContext, DWORD dwTrackGroup, IDirectMusicTrack** ppResultTrack) {
|
static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_Join (LPDIRECTMUSICTRACK8 iface, IDirectMusicTrack* pNewTrack, MUSIC_TIME mtJoin, IUnknown* pContext, DWORD dwTrackGroup, IDirectMusicTrack** ppResultTrack) {
|
||||||
|
@ -290,13 +304,13 @@ static const IDirectMusicTrack8Vtbl DirectMusicTempoTrack_Track_Vtbl = {
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_GetParam,
|
IDirectMusicTempoTrack_IDirectMusicTrack_GetParam,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_SetParam,
|
IDirectMusicTempoTrack_IDirectMusicTrack_SetParam,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_IsParamSupported,
|
IDirectMusicTempoTrack_IDirectMusicTrack_IsParamSupported,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_AddNotificationType,
|
IDirectMusicTrack8Impl_AddNotificationType,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_RemoveNotificationType,
|
IDirectMusicTrack8Impl_RemoveNotificationType,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_Clone,
|
IDirectMusicTempoTrack_IDirectMusicTrack_Clone,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_PlayEx,
|
IDirectMusicTempoTrack_IDirectMusicTrack_PlayEx,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_GetParamEx,
|
IDirectMusicTempoTrack_IDirectMusicTrack_GetParamEx,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_SetParamEx,
|
IDirectMusicTempoTrack_IDirectMusicTrack_SetParamEx,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_Compose,
|
IDirectMusicTrack8Impl_Compose,
|
||||||
IDirectMusicTempoTrack_IDirectMusicTrack_Join
|
IDirectMusicTempoTrack_IDirectMusicTrack_Join
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue