mirror of
https://github.com/reactos/wine.git
synced 2024-12-11 13:26:00 +00:00
dmime: Implement the E_NOTIMPL methods of IDMTrack8 for DMSeqTrack.
This commit is contained in:
parent
399cf7e4b9
commit
4a7664275f
@ -88,6 +88,11 @@ static const IUnknownVtbl DirectMusicSeqTrack_Unknown_Vtbl = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IDirectMusicSeqTrack IDirectMusicTrack8 part: */
|
/* IDirectMusicSeqTrack IDirectMusicTrack8 part: */
|
||||||
|
static inline IDirectMusicSeqTrack *impl_from_IDirectMusicTrack8(IDirectMusicTrack8 *iface)
|
||||||
|
{
|
||||||
|
return CONTAINING_RECORD(iface, IDirectMusicSeqTrack, TrackVtbl);
|
||||||
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj) {
|
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj) {
|
||||||
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
||||||
return IUnknown_QueryInterface ((LPUNKNOWN)&This->UnknownVtbl, riid, ppobj);
|
return IUnknown_QueryInterface ((LPUNKNOWN)&This->UnknownVtbl, riid, ppobj);
|
||||||
@ -131,37 +136,50 @@ static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_Play (LPDIRECTMUSIC
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_GetParam (LPDIRECTMUSICTRACK8 iface, REFGUID rguidType, MUSIC_TIME mtTime, MUSIC_TIME* pmtNext, void* pParam) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface, REFGUID type,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
MUSIC_TIME time, MUSIC_TIME *next, void *param)
|
||||||
FIXME("(%p, %s, %d, %p, %p): stub\n", This, debugstr_dmguid(rguidType), mtTime, pmtNext, pParam);
|
{
|
||||||
return S_OK;
|
IDirectMusicSeqTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %s, %d, %p, %p): method not implemented\n", This, debugstr_dmguid(type), time,
|
||||||
|
next, param);
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_SetParam (LPDIRECTMUSICTRACK8 iface, REFGUID rguidType, MUSIC_TIME mtTime, void* pParam) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface, REFGUID type,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
MUSIC_TIME time, void *param)
|
||||||
FIXME("(%p, %s, %d, %p): stub\n", This, debugstr_dmguid(rguidType), mtTime, pParam);
|
{
|
||||||
return S_OK;
|
IDirectMusicSeqTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %s, %d, %p): method not implemented\n", This, debugstr_dmguid(type), time, param);
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_IsParamSupported (LPDIRECTMUSICTRACK8 iface, REFGUID rguidType) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8 *iface,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
REFGUID type)
|
||||||
|
{
|
||||||
|
IDirectMusicSeqTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
TRACE("(%p, %s)\n", This, debugstr_dmguid(rguidType));
|
TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(type));
|
||||||
/* didn't find any params */
|
return E_NOTIMPL;
|
||||||
TRACE("param unsupported\n");
|
|
||||||
return DMUS_E_TYPE_UNSUPPORTED;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_AddNotificationType (LPDIRECTMUSICTRACK8 iface, REFGUID rguidNotificationType) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTrack8 *iface,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
REFGUID notiftype)
|
||||||
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType));
|
{
|
||||||
return S_OK;
|
IDirectMusicSeqTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(notiftype));
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_RemoveNotificationType (LPDIRECTMUSICTRACK8 iface, REFGUID rguidNotificationType) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusicTrack8 *iface,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
REFGUID notiftype)
|
||||||
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidNotificationType));
|
{
|
||||||
return S_OK;
|
IDirectMusicSeqTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %s): method not implemented\n", This, debugstr_dmguid(notiftype));
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_Clone (LPDIRECTMUSICTRACK8 iface, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack) {
|
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_Clone (LPDIRECTMUSICTRACK8 iface, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack) {
|
||||||
@ -177,30 +195,43 @@ static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_PlayEx (LPDIRECTMUS
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_GetParamEx (LPDIRECTMUSICTRACK8 iface, REFGUID rguidType, REFERENCE_TIME rtTime, REFERENCE_TIME* prtNext, void* pParam, void* pStateData, DWORD dwFlags) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *iface, REFGUID type,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
REFERENCE_TIME time, REFERENCE_TIME *next, void *param, void *state, DWORD flags)
|
||||||
FIXME("(%p, %s, 0x%s, %p, %p, %p, %d): stub\n", This, debugstr_dmguid(rguidType),
|
{
|
||||||
wine_dbgstr_longlong(rtTime), prtNext, pParam, pStateData, dwFlags);
|
IDirectMusicSeqTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
return S_OK;
|
|
||||||
|
TRACE("(%p, %s, %s, %p, %p, %p, %x): method not implemented\n", This, debugstr_dmguid(type),
|
||||||
|
wine_dbgstr_longlong(time), next, param, state, flags);
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_SetParamEx (LPDIRECTMUSICTRACK8 iface, REFGUID rguidType, REFERENCE_TIME rtTime, void* pParam, void* pStateData, DWORD dwFlags) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *iface, REFGUID type,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
REFERENCE_TIME time, void *param, void *state, DWORD flags)
|
||||||
FIXME("(%p, %s, 0x%s, %p, %p, %d): stub\n", This, debugstr_dmguid(rguidType),
|
{
|
||||||
wine_dbgstr_longlong(rtTime), pParam, pStateData, dwFlags);
|
IDirectMusicSeqTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
return S_OK;
|
|
||||||
|
TRACE("(%p, %s, %s, %p, %p, %x): method not implemented\n", This, debugstr_dmguid(type),
|
||||||
|
wine_dbgstr_longlong(time), param, state, flags);
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_Compose (LPDIRECTMUSICTRACK8 iface, IUnknown* pContext, DWORD dwTrackGroup, IDirectMusicTrack** ppResultTrack) {
|
static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface, IUnknown *context,
|
||||||
ICOM_THIS_MULTI(IDirectMusicSeqTrack, TrackVtbl, iface);
|
DWORD trackgroup, IDirectMusicTrack **track)
|
||||||
FIXME("(%p, %p, %d, %p): stub\n", This, pContext, dwTrackGroup, ppResultTrack);
|
{
|
||||||
return S_OK;
|
IDirectMusicSeqTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||||
|
|
||||||
|
TRACE("(%p, %p, %d, %p): method not implemented\n", This, context, trackgroup, track);
|
||||||
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicSeqTrack_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(IDirectMusicSeqTrack, 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;
|
{
|
||||||
|
IDirectMusicSeqTrack *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 DirectMusicSeqTrack_Track_Vtbl = {
|
static const IDirectMusicTrack8Vtbl DirectMusicSeqTrack_Track_Vtbl = {
|
||||||
@ -211,17 +242,17 @@ static const IDirectMusicTrack8Vtbl DirectMusicSeqTrack_Track_Vtbl = {
|
|||||||
IDirectMusicSeqTrack_IDirectMusicTrack_InitPlay,
|
IDirectMusicSeqTrack_IDirectMusicTrack_InitPlay,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_EndPlay,
|
IDirectMusicSeqTrack_IDirectMusicTrack_EndPlay,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_Play,
|
IDirectMusicSeqTrack_IDirectMusicTrack_Play,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_GetParam,
|
IDirectMusicTrack8Impl_GetParam,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_SetParam,
|
IDirectMusicTrack8Impl_SetParam,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_IsParamSupported,
|
IDirectMusicTrack8Impl_IsParamSupported,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_AddNotificationType,
|
IDirectMusicTrack8Impl_AddNotificationType,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_RemoveNotificationType,
|
IDirectMusicTrack8Impl_RemoveNotificationType,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_Clone,
|
IDirectMusicSeqTrack_IDirectMusicTrack_Clone,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_PlayEx,
|
IDirectMusicSeqTrack_IDirectMusicTrack_PlayEx,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_GetParamEx,
|
IDirectMusicTrack8Impl_GetParamEx,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_SetParamEx,
|
IDirectMusicTrack8Impl_SetParamEx,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_Compose,
|
IDirectMusicTrack8Impl_Compose,
|
||||||
IDirectMusicSeqTrack_IDirectMusicTrack_Join
|
IDirectMusicTrack8Impl_Join
|
||||||
};
|
};
|
||||||
|
|
||||||
/* IDirectMusicSeqTrack IPersistStream part: */
|
/* IDirectMusicSeqTrack IPersistStream part: */
|
||||||
|
Loading…
Reference in New Issue
Block a user