Commit 9f90994b authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

dmband: Rename IDirectMusicTrack8Impl to band_track.

parent e437e482
...@@ -40,7 +40,7 @@ static inline IDirectMusicBandTrack *impl_from_IDirectMusicTrack8(IDirectMusicTr ...@@ -40,7 +40,7 @@ static inline IDirectMusicBandTrack *impl_from_IDirectMusicTrack8(IDirectMusicTr
return CONTAINING_RECORD(iface, IDirectMusicBandTrack, IDirectMusicTrack8_iface); return CONTAINING_RECORD(iface, IDirectMusicBandTrack, IDirectMusicTrack8_iface);
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_QueryInterface(IDirectMusicTrack8 *iface, REFIID riid, static HRESULT WINAPI band_track_QueryInterface(IDirectMusicTrack8 *iface, REFIID riid,
void **ret_iface) void **ret_iface)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -63,7 +63,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_QueryInterface(IDirectMusicTrack8 * ...@@ -63,7 +63,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_QueryInterface(IDirectMusicTrack8 *
return S_OK; return S_OK;
} }
static ULONG WINAPI IDirectMusicTrack8Impl_AddRef(IDirectMusicTrack8 *iface) static ULONG WINAPI band_track_AddRef(IDirectMusicTrack8 *iface)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
LONG ref = InterlockedIncrement(&This->ref); LONG ref = InterlockedIncrement(&This->ref);
...@@ -73,7 +73,7 @@ static ULONG WINAPI IDirectMusicTrack8Impl_AddRef(IDirectMusicTrack8 *iface) ...@@ -73,7 +73,7 @@ static ULONG WINAPI IDirectMusicTrack8Impl_AddRef(IDirectMusicTrack8 *iface)
return ref; return ref;
} }
static ULONG WINAPI IDirectMusicTrack8Impl_Release(IDirectMusicTrack8 *iface) static ULONG WINAPI band_track_Release(IDirectMusicTrack8 *iface)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
LONG ref = InterlockedDecrement(&This->ref); LONG ref = InterlockedDecrement(&This->ref);
...@@ -88,15 +88,14 @@ static ULONG WINAPI IDirectMusicTrack8Impl_Release(IDirectMusicTrack8 *iface) ...@@ -88,15 +88,14 @@ static ULONG WINAPI IDirectMusicTrack8Impl_Release(IDirectMusicTrack8 *iface)
return ref; return ref;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_Init(IDirectMusicTrack8 *iface, static HRESULT WINAPI band_track_Init(IDirectMusicTrack8 *iface, IDirectMusicSegment *pSegment)
IDirectMusicSegment *pSegment)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
FIXME("(%p, %p): stub\n", This, pSegment); FIXME("(%p, %p): stub\n", This, pSegment);
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_InitPlay(IDirectMusicTrack8 *iface, static HRESULT WINAPI band_track_InitPlay(IDirectMusicTrack8 *iface,
IDirectMusicSegmentState *segment_state, IDirectMusicPerformance *performance, IDirectMusicSegmentState *segment_state, IDirectMusicPerformance *performance,
void **state_data, DWORD virtual_track8id, DWORD flags) void **state_data, DWORD virtual_track8id, DWORD flags)
{ {
...@@ -107,14 +106,14 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_InitPlay(IDirectMusicTrack8 *iface, ...@@ -107,14 +106,14 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_InitPlay(IDirectMusicTrack8 *iface,
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_EndPlay(IDirectMusicTrack8 *iface, void *pStateData) static HRESULT WINAPI band_track_EndPlay(IDirectMusicTrack8 *iface, void *pStateData)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
FIXME("(%p, %p): stub\n", This, pStateData); FIXME("(%p, %p): stub\n", This, pStateData);
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_Play(IDirectMusicTrack8 *iface, void *state_data, static HRESULT WINAPI band_track_Play(IDirectMusicTrack8 *iface, void *state_data,
MUSIC_TIME mtStart, MUSIC_TIME mtEnd, MUSIC_TIME mtOffset, DWORD flags, MUSIC_TIME mtStart, MUSIC_TIME mtEnd, MUSIC_TIME mtOffset, DWORD flags,
IDirectMusicPerformance *performance, IDirectMusicSegmentState *segment_state, IDirectMusicPerformance *performance, IDirectMusicSegmentState *segment_state,
DWORD virtual_id) DWORD virtual_id)
...@@ -133,7 +132,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Play(IDirectMusicTrack8 *iface, voi ...@@ -133,7 +132,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Play(IDirectMusicTrack8 *iface, voi
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface, REFGUID rguidType, static HRESULT WINAPI band_track_GetParam(IDirectMusicTrack8 *iface, REFGUID rguidType,
MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -141,7 +140,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface, ...@@ -141,7 +140,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface,
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface, REFGUID rguidType, static HRESULT WINAPI band_track_SetParam(IDirectMusicTrack8 *iface, REFGUID rguidType,
MUSIC_TIME mtTime, void *pParam) MUSIC_TIME mtTime, void *pParam)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -149,8 +148,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface, ...@@ -149,8 +148,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface,
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8 *iface, static HRESULT WINAPI band_track_IsParamSupported(IDirectMusicTrack8 *iface, REFGUID rguidType)
REFGUID rguidType)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -178,8 +176,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8 ...@@ -178,8 +176,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8
return DMUS_E_TYPE_UNSUPPORTED; return DMUS_E_TYPE_UNSUPPORTED;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTrack8 *iface, static HRESULT WINAPI band_track_AddNotificationType(IDirectMusicTrack8 *iface, REFGUID notiftype)
REFGUID notiftype)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -187,7 +184,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTra ...@@ -187,7 +184,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTra
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusicTrack8 *iface, static HRESULT WINAPI band_track_RemoveNotificationType(IDirectMusicTrack8 *iface,
REFGUID notiftype) REFGUID notiftype)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -196,7 +193,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusic ...@@ -196,7 +193,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusic
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MUSIC_TIME mtStart, static HRESULT WINAPI band_track_Clone(IDirectMusicTrack8 *iface, MUSIC_TIME mtStart,
MUSIC_TIME mtEnd, IDirectMusicTrack **ppTrack) MUSIC_TIME mtEnd, IDirectMusicTrack **ppTrack)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -204,7 +201,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MU ...@@ -204,7 +201,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MU
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, void *state_data, static HRESULT WINAPI band_track_PlayEx(IDirectMusicTrack8 *iface, void *state_data,
REFERENCE_TIME rtStart, REFERENCE_TIME rtEnd, REFERENCE_TIME rtOffset, DWORD flags, REFERENCE_TIME rtStart, REFERENCE_TIME rtEnd, REFERENCE_TIME rtOffset, DWORD flags,
IDirectMusicPerformance *performance, IDirectMusicSegmentState *segment_state, IDirectMusicPerformance *performance, IDirectMusicSegmentState *segment_state,
DWORD virtual_id) DWORD virtual_id)
...@@ -217,7 +214,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, v ...@@ -217,7 +214,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, v
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *iface, static HRESULT WINAPI band_track_GetParamEx(IDirectMusicTrack8 *iface,
REFGUID rguidType, REFERENCE_TIME rtTime, REFERENCE_TIME *rtNext, void *param, REFGUID rguidType, REFERENCE_TIME rtTime, REFERENCE_TIME *rtNext, void *param,
void *state_data, DWORD flags) void *state_data, DWORD flags)
{ {
...@@ -229,8 +226,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *ifac ...@@ -229,8 +226,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *ifac
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *iface, static HRESULT WINAPI band_track_SetParamEx(IDirectMusicTrack8 *iface, REFGUID rguidType,
REFGUID rguidType, REFERENCE_TIME rtTime, void *param, void *state_data, DWORD flags) REFERENCE_TIME rtTime, void *param, void *state_data, DWORD flags)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -240,7 +237,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *ifac ...@@ -240,7 +237,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *ifac
return S_OK; return S_OK;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface, IUnknown *context, static HRESULT WINAPI band_track_Compose(IDirectMusicTrack8 *iface, IUnknown *context,
DWORD trackgroup, IDirectMusicTrack **track) DWORD trackgroup, IDirectMusicTrack **track)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -249,8 +246,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface, ...@@ -249,8 +246,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface,
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI IDirectMusicTrack8Impl_Join(IDirectMusicTrack8 *iface, static HRESULT WINAPI band_track_Join(IDirectMusicTrack8 *iface, IDirectMusicTrack *pNewTrack,
IDirectMusicTrack *pNewTrack, MUSIC_TIME mtJoin, IUnknown *pContext, DWORD dwTrackGroup, MUSIC_TIME mtJoin, IUnknown *pContext, DWORD dwTrackGroup,
IDirectMusicTrack **ppResultTrack) IDirectMusicTrack **ppResultTrack)
{ {
IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface); IDirectMusicBandTrack *This = impl_from_IDirectMusicTrack8(iface);
...@@ -259,24 +256,24 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Join(IDirectMusicTrack8 *iface, ...@@ -259,24 +256,24 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Join(IDirectMusicTrack8 *iface,
} }
static const IDirectMusicTrack8Vtbl dmtrack8_vtbl = { static const IDirectMusicTrack8Vtbl dmtrack8_vtbl = {
IDirectMusicTrack8Impl_QueryInterface, band_track_QueryInterface,
IDirectMusicTrack8Impl_AddRef, band_track_AddRef,
IDirectMusicTrack8Impl_Release, band_track_Release,
IDirectMusicTrack8Impl_Init, band_track_Init,
IDirectMusicTrack8Impl_InitPlay, band_track_InitPlay,
IDirectMusicTrack8Impl_EndPlay, band_track_EndPlay,
IDirectMusicTrack8Impl_Play, band_track_Play,
IDirectMusicTrack8Impl_GetParam, band_track_GetParam,
IDirectMusicTrack8Impl_SetParam, band_track_SetParam,
IDirectMusicTrack8Impl_IsParamSupported, band_track_IsParamSupported,
IDirectMusicTrack8Impl_AddNotificationType, band_track_AddNotificationType,
IDirectMusicTrack8Impl_RemoveNotificationType, band_track_RemoveNotificationType,
IDirectMusicTrack8Impl_Clone, band_track_Clone,
IDirectMusicTrack8Impl_PlayEx, band_track_PlayEx,
IDirectMusicTrack8Impl_GetParamEx, band_track_GetParamEx,
IDirectMusicTrack8Impl_SetParamEx, band_track_SetParamEx,
IDirectMusicTrack8Impl_Compose, band_track_Compose,
IDirectMusicTrack8Impl_Join band_track_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