dmime: Implement the ParamControl track param methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
85b966250a
commit
c88fd286f3
|
@ -118,31 +118,30 @@ static HRESULT WINAPI paramcontrol_track_Play(IDirectMusicTrack8 *iface, void *p
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI paramcontrol_track_GetParam(IDirectMusicTrack8 *iface, REFGUID rguidType,
|
||||
MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam)
|
||||
static HRESULT WINAPI paramcontrol_track_GetParam(IDirectMusicTrack8 *iface, REFGUID type,
|
||||
MUSIC_TIME time, MUSIC_TIME *next, void *param)
|
||||
{
|
||||
IDirectMusicParamControlTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
FIXME("(%p, %s, %d, %p, %p): stub\n", This, debugstr_dmguid(rguidType), mtTime, pmtNext, pParam);
|
||||
return S_OK;
|
||||
IDirectMusicParamControlTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
||||
TRACE("(%p, %s, %d, %p, %p): not supported\n", This, debugstr_dmguid(type), time, next, param);
|
||||
return DMUS_E_GET_UNSUPPORTED;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI paramcontrol_track_SetParam(IDirectMusicTrack8 *iface, REFGUID rguidType,
|
||||
MUSIC_TIME mtTime, void *pParam)
|
||||
static HRESULT WINAPI paramcontrol_track_SetParam(IDirectMusicTrack8 *iface, REFGUID type,
|
||||
MUSIC_TIME time, void *param)
|
||||
{
|
||||
IDirectMusicParamControlTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
FIXME("(%p, %s, %d, %p): stub\n", This, debugstr_dmguid(rguidType), mtTime, pParam);
|
||||
return S_OK;
|
||||
IDirectMusicParamControlTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
||||
TRACE("(%p, %s, %d, %p): not supported\n", This, debugstr_dmguid(type), time, param);
|
||||
return DMUS_E_SET_UNSUPPORTED;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI paramcontrol_track_IsParamSupported(IDirectMusicTrack8 *iface,
|
||||
REFGUID rguidType)
|
||||
static HRESULT WINAPI paramcontrol_track_IsParamSupported(IDirectMusicTrack8 *iface, REFGUID type)
|
||||
{
|
||||
IDirectMusicParamControlTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
IDirectMusicParamControlTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
||||
TRACE("(%p, %s)\n", This, debugstr_dmguid(rguidType));
|
||||
/* didn't find any params */
|
||||
TRACE("param unsupported\n");
|
||||
return DMUS_E_TYPE_UNSUPPORTED;
|
||||
TRACE("(%p, %s): param type not supported\n", This, debugstr_dmguid(type));
|
||||
return DMUS_E_TYPE_UNSUPPORTED;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI paramcontrol_track_AddNotificationType(IDirectMusicTrack8 *iface,
|
||||
|
|
Loading…
Reference in New Issue