mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:51:11 +00:00
dmstyle: Rename IDirectMusicTrack8Impl to audition_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
41683615a7
commit
63b2ffe414
|
@ -37,7 +37,7 @@ static inline IDirectMusicAuditionTrack *impl_from_IDirectMusicTrack8(IDirectMus
|
|||
return CONTAINING_RECORD(iface, IDirectMusicAuditionTrack, IDirectMusicTrack8_iface);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_QueryInterface(IDirectMusicTrack8 *iface, REFIID riid,
|
||||
static HRESULT WINAPI audition_track_QueryInterface(IDirectMusicTrack8 *iface, REFIID riid,
|
||||
void **ret_iface)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
@ -60,7 +60,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_QueryInterface(IDirectMusicTrack8 *
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static ULONG WINAPI IDirectMusicTrack8Impl_AddRef(IDirectMusicTrack8 *iface)
|
||||
static ULONG WINAPI audition_track_AddRef(IDirectMusicTrack8 *iface)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
LONG ref = InterlockedIncrement(&This->ref);
|
||||
|
@ -70,7 +70,7 @@ static ULONG WINAPI IDirectMusicTrack8Impl_AddRef(IDirectMusicTrack8 *iface)
|
|||
return ref;
|
||||
}
|
||||
|
||||
static ULONG WINAPI IDirectMusicTrack8Impl_Release(IDirectMusicTrack8 *iface)
|
||||
static ULONG WINAPI audition_track_Release(IDirectMusicTrack8 *iface)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
LONG ref = InterlockedDecrement(&This->ref);
|
||||
|
@ -85,15 +85,14 @@ static ULONG WINAPI IDirectMusicTrack8Impl_Release(IDirectMusicTrack8 *iface)
|
|||
return ref;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_Init(IDirectMusicTrack8 *iface,
|
||||
IDirectMusicSegment *pSegment)
|
||||
static HRESULT WINAPI audition_track_Init(IDirectMusicTrack8 *iface, IDirectMusicSegment *pSegment)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
FIXME("(%p, %p): stub\n", This, pSegment);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_InitPlay(IDirectMusicTrack8 *iface,
|
||||
static HRESULT WINAPI audition_track_InitPlay(IDirectMusicTrack8 *iface,
|
||||
IDirectMusicSegmentState *pSegmentState, IDirectMusicPerformance *pPerformance,
|
||||
void **ppStateData, DWORD dwVirtualTrack8ID, DWORD dwFlags)
|
||||
{
|
||||
|
@ -102,14 +101,14 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_InitPlay(IDirectMusicTrack8 *iface,
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_EndPlay(IDirectMusicTrack8 *iface, void *pStateData)
|
||||
static HRESULT WINAPI audition_track_EndPlay(IDirectMusicTrack8 *iface, void *pStateData)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
FIXME("(%p, %p): stub\n", This, pStateData);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_Play(IDirectMusicTrack8 *iface, void *pStateData,
|
||||
static HRESULT WINAPI audition_track_Play(IDirectMusicTrack8 *iface, void *pStateData,
|
||||
MUSIC_TIME mtStart, MUSIC_TIME mtEnd, MUSIC_TIME mtOffset, DWORD dwFlags,
|
||||
IDirectMusicPerformance *pPerf, IDirectMusicSegmentState *pSegSt, DWORD dwVirtualID)
|
||||
{
|
||||
|
@ -118,7 +117,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Play(IDirectMusicTrack8 *iface, voi
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface, REFGUID rguidType,
|
||||
static HRESULT WINAPI audition_track_GetParam(IDirectMusicTrack8 *iface, REFGUID rguidType,
|
||||
MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
@ -130,7 +129,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface,
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface, REFGUID rguidType,
|
||||
static HRESULT WINAPI audition_track_SetParam(IDirectMusicTrack8 *iface, REFGUID rguidType,
|
||||
MUSIC_TIME mtTime, void *pParam)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
@ -138,8 +137,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface,
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8 *iface,
|
||||
REFGUID rguidType)
|
||||
static HRESULT WINAPI audition_track_IsParamSupported(IDirectMusicTrack8 *iface, REFGUID rguidType)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
||||
|
@ -153,7 +151,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8
|
|||
return DMUS_E_TYPE_UNSUPPORTED;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTrack8 *iface,
|
||||
static HRESULT WINAPI audition_track_AddNotificationType(IDirectMusicTrack8 *iface,
|
||||
REFGUID rguidNotificationType)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
@ -161,7 +159,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTra
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusicTrack8 *iface,
|
||||
static HRESULT WINAPI audition_track_RemoveNotificationType(IDirectMusicTrack8 *iface,
|
||||
REFGUID rguidNotificationType)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
@ -169,7 +167,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusic
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MUSIC_TIME mtStart,
|
||||
static HRESULT WINAPI audition_track_Clone(IDirectMusicTrack8 *iface, MUSIC_TIME mtStart,
|
||||
MUSIC_TIME mtEnd, IDirectMusicTrack **ppTrack)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
@ -177,7 +175,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MU
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, void *pStateData,
|
||||
static HRESULT WINAPI audition_track_PlayEx(IDirectMusicTrack8 *iface, void *pStateData,
|
||||
REFERENCE_TIME rtStart, REFERENCE_TIME rtEnd, REFERENCE_TIME rtOffset, DWORD dwFlags,
|
||||
IDirectMusicPerformance *pPerf, IDirectMusicSegmentState *pSegSt, DWORD dwVirtualID)
|
||||
{
|
||||
|
@ -187,9 +185,9 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, v
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *iface,
|
||||
REFGUID rguidType, REFERENCE_TIME rtTime, REFERENCE_TIME *prtNext, void *pParam,
|
||||
void *pStateData, DWORD dwFlags)
|
||||
static HRESULT WINAPI audition_track_GetParamEx(IDirectMusicTrack8 *iface, REFGUID rguidType,
|
||||
REFERENCE_TIME rtTime, REFERENCE_TIME *prtNext, void *pParam, void *pStateData,
|
||||
DWORD dwFlags)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
FIXME("(%p, %s, 0x%s, %p, %p, %p, %d): stub\n", This, debugstr_dmguid(rguidType),
|
||||
|
@ -197,8 +195,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *ifac
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *iface,
|
||||
REFGUID rguidType, REFERENCE_TIME rtTime, void *pParam, void *pStateData, DWORD dwFlags)
|
||||
static HRESULT WINAPI audition_track_SetParamEx(IDirectMusicTrack8 *iface, REFGUID rguidType,
|
||||
REFERENCE_TIME rtTime, void *pParam, void *pStateData, DWORD dwFlags)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
FIXME("(%p, %s, 0x%s, %p, %p, %d): stub\n", This, debugstr_dmguid(rguidType),
|
||||
|
@ -206,7 +204,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *ifac
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface, IUnknown *context,
|
||||
static HRESULT WINAPI audition_track_Compose(IDirectMusicTrack8 *iface, IUnknown *context,
|
||||
DWORD trackgroup, IDirectMusicTrack **track)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
|
@ -215,9 +213,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface,
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirectMusicTrack8Impl_Join(IDirectMusicTrack8 *iface,
|
||||
IDirectMusicTrack *newtrack, MUSIC_TIME join, IUnknown *context, DWORD trackgroup,
|
||||
IDirectMusicTrack **resulttrack)
|
||||
static HRESULT WINAPI audition_track_Join(IDirectMusicTrack8 *iface, IDirectMusicTrack *newtrack,
|
||||
MUSIC_TIME join, IUnknown *context, DWORD trackgroup, IDirectMusicTrack **resulttrack)
|
||||
{
|
||||
IDirectMusicAuditionTrack *This = impl_from_IDirectMusicTrack8(iface);
|
||||
TRACE("(%p, %p, %d, %p, %d, %p): stub\n", This, newtrack, join, context, trackgroup,
|
||||
|
@ -226,24 +223,24 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Join(IDirectMusicTrack8 *iface,
|
|||
}
|
||||
|
||||
static const IDirectMusicTrack8Vtbl dmtrack8_vtbl = {
|
||||
IDirectMusicTrack8Impl_QueryInterface,
|
||||
IDirectMusicTrack8Impl_AddRef,
|
||||
IDirectMusicTrack8Impl_Release,
|
||||
IDirectMusicTrack8Impl_Init,
|
||||
IDirectMusicTrack8Impl_InitPlay,
|
||||
IDirectMusicTrack8Impl_EndPlay,
|
||||
IDirectMusicTrack8Impl_Play,
|
||||
IDirectMusicTrack8Impl_GetParam,
|
||||
IDirectMusicTrack8Impl_SetParam,
|
||||
IDirectMusicTrack8Impl_IsParamSupported,
|
||||
IDirectMusicTrack8Impl_AddNotificationType,
|
||||
IDirectMusicTrack8Impl_RemoveNotificationType,
|
||||
IDirectMusicTrack8Impl_Clone,
|
||||
IDirectMusicTrack8Impl_PlayEx,
|
||||
IDirectMusicTrack8Impl_GetParamEx,
|
||||
IDirectMusicTrack8Impl_SetParamEx,
|
||||
IDirectMusicTrack8Impl_Compose,
|
||||
IDirectMusicTrack8Impl_Join
|
||||
audition_track_QueryInterface,
|
||||
audition_track_AddRef,
|
||||
audition_track_Release,
|
||||
audition_track_Init,
|
||||
audition_track_InitPlay,
|
||||
audition_track_EndPlay,
|
||||
audition_track_Play,
|
||||
audition_track_GetParam,
|
||||
audition_track_SetParam,
|
||||
audition_track_IsParamSupported,
|
||||
audition_track_AddNotificationType,
|
||||
audition_track_RemoveNotificationType,
|
||||
audition_track_Clone,
|
||||
audition_track_PlayEx,
|
||||
audition_track_GetParamEx,
|
||||
audition_track_SetParamEx,
|
||||
audition_track_Compose,
|
||||
audition_track_Join
|
||||
};
|
||||
|
||||
static inline IDirectMusicAuditionTrack * impl_from_IPersistStream(IPersistStream *iface)
|
||||
|
|
Loading…
Reference in a new issue