Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4ded9fed
Commit
4ded9fed
authored
Nov 12, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Rename IDirectMusicTrack8Impl to sequence_track.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
877bcd3f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
40 deletions
+37
-40
seqtrack.c
dlls/dmime/seqtrack.c
+37
-40
No files found.
dlls/dmime/seqtrack.c
View file @
4ded9fed
...
@@ -37,7 +37,7 @@ static inline IDirectMusicSeqTrack *impl_from_IDirectMusicTrack8(IDirectMusicTra
...
@@ -37,7 +37,7 @@ static inline IDirectMusicSeqTrack *impl_from_IDirectMusicTrack8(IDirectMusicTra
return
CONTAINING_RECORD
(
iface
,
IDirectMusicSeqTrack
,
IDirectMusicTrack8_iface
);
return
CONTAINING_RECORD
(
iface
,
IDirectMusicSeqTrack
,
IDirectMusicTrack8_iface
);
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_QueryInterface
(
IDirectMusicTrack8
*
iface
,
REFIID
riid
,
static
HRESULT
WINAPI
sequence_track
_QueryInterface
(
IDirectMusicTrack8
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
void
**
ret_iface
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -60,7 +60,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_QueryInterface(IDirectMusicTrack8 *
...
@@ -60,7 +60,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_QueryInterface(IDirectMusicTrack8 *
return
S_OK
;
return
S_OK
;
}
}
static
ULONG
WINAPI
IDirectMusicTrack8Impl
_AddRef
(
IDirectMusicTrack8
*
iface
)
static
ULONG
WINAPI
sequence_track
_AddRef
(
IDirectMusicTrack8
*
iface
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
@@ -70,7 +70,7 @@ static ULONG WINAPI IDirectMusicTrack8Impl_AddRef(IDirectMusicTrack8 *iface)
...
@@ -70,7 +70,7 @@ static ULONG WINAPI IDirectMusicTrack8Impl_AddRef(IDirectMusicTrack8 *iface)
return
ref
;
return
ref
;
}
}
static
ULONG
WINAPI
IDirectMusicTrack8Impl
_Release
(
IDirectMusicTrack8
*
iface
)
static
ULONG
WINAPI
sequence_track
_Release
(
IDirectMusicTrack8
*
iface
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
@@ -85,15 +85,14 @@ static ULONG WINAPI IDirectMusicTrack8Impl_Release(IDirectMusicTrack8 *iface)
...
@@ -85,15 +85,14 @@ static ULONG WINAPI IDirectMusicTrack8Impl_Release(IDirectMusicTrack8 *iface)
return
ref
;
return
ref
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Init
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
sequence_track_Init
(
IDirectMusicTrack8
*
iface
,
IDirectMusicSegment
*
pSegment
)
IDirectMusicSegment
*
pSegment
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
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
sequence_track
_InitPlay
(
IDirectMusicTrack8
*
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
{
...
@@ -102,14 +101,14 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_InitPlay(IDirectMusicTrack8 *iface,
...
@@ -102,14 +101,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
sequence_track
_EndPlay
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
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
*
pStateData
,
static
HRESULT
WINAPI
sequence_track
_Play
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
{
...
@@ -118,7 +117,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Play(IDirectMusicTrack8 *iface, voi
...
@@ -118,7 +117,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Play(IDirectMusicTrack8 *iface, voi
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
static
HRESULT
WINAPI
sequence_track
_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
MUSIC_TIME
time
,
MUSIC_TIME
*
next
,
void
*
param
)
MUSIC_TIME
time
,
MUSIC_TIME
*
next
,
void
*
param
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -128,7 +127,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface,
...
@@ -128,7 +127,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
static
HRESULT
WINAPI
sequence_track
_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
MUSIC_TIME
time
,
void
*
param
)
MUSIC_TIME
time
,
void
*
param
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -137,8 +136,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface,
...
@@ -137,8 +136,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
sequence_track_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
)
REFGUID
type
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -146,7 +144,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8
...
@@ -146,7 +144,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
sequence_track
_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
notiftype
)
REFGUID
notiftype
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -155,7 +153,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTra
...
@@ -155,7 +153,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTra
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
sequence_track
_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
notiftype
)
REFGUID
notiftype
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -164,7 +162,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusic
...
@@ -164,7 +162,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
sequence_track
_Clone
(
IDirectMusicTrack8
*
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -172,7 +170,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MU
...
@@ -172,7 +170,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MU
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_PlayEx
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
,
static
HRESULT
WINAPI
sequence_track
_PlayEx
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
{
...
@@ -182,7 +180,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, v
...
@@ -182,7 +180,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, v
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_GetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
static
HRESULT
WINAPI
sequence_track
_GetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
REFERENCE_TIME
time
,
REFERENCE_TIME
*
next
,
void
*
param
,
void
*
state
,
DWORD
flags
)
REFERENCE_TIME
time
,
REFERENCE_TIME
*
next
,
void
*
param
,
void
*
state
,
DWORD
flags
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -192,7 +190,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *ifac
...
@@ -192,7 +190,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *ifac
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_SetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
static
HRESULT
WINAPI
sequence_track
_SetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
REFERENCE_TIME
time
,
void
*
param
,
void
*
state
,
DWORD
flags
)
REFERENCE_TIME
time
,
void
*
param
,
void
*
state
,
DWORD
flags
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -202,7 +200,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *ifac
...
@@ -202,7 +200,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *ifac
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
static
HRESULT
WINAPI
sequence_track
_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -211,9 +209,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface,
...
@@ -211,9 +209,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Join
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
sequence_track_Join
(
IDirectMusicTrack8
*
iface
,
IDirectMusicTrack
*
newtrack
,
IDirectMusicTrack
*
newtrack
,
MUSIC_TIME
join
,
IUnknown
*
context
,
DWORD
trackgroup
,
MUSIC_TIME
join
,
IUnknown
*
context
,
DWORD
trackgroup
,
IDirectMusicTrack
**
resulttrack
)
IDirectMusicTrack
**
resulttrack
)
{
{
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicSeqTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p, %d, %p): method not implemented
\n
"
,
This
,
newtrack
,
join
,
context
,
TRACE
(
"(%p, %p, %d, %p, %d, %p): method not implemented
\n
"
,
This
,
newtrack
,
join
,
context
,
...
@@ -222,24 +219,24 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Join(IDirectMusicTrack8 *iface,
...
@@ -222,24 +219,24 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Join(IDirectMusicTrack8 *iface,
}
}
static
const
IDirectMusicTrack8Vtbl
dmtrack8_vtbl
=
{
static
const
IDirectMusicTrack8Vtbl
dmtrack8_vtbl
=
{
IDirectMusicTrack8Impl
_QueryInterface
,
sequence_track
_QueryInterface
,
IDirectMusicTrack8Impl
_AddRef
,
sequence_track
_AddRef
,
IDirectMusicTrack8Impl
_Release
,
sequence_track
_Release
,
IDirectMusicTrack8Impl
_Init
,
sequence_track
_Init
,
IDirectMusicTrack8Impl
_InitPlay
,
sequence_track
_InitPlay
,
IDirectMusicTrack8Impl
_EndPlay
,
sequence_track
_EndPlay
,
IDirectMusicTrack8Impl
_Play
,
sequence_track
_Play
,
IDirectMusicTrack8Impl
_GetParam
,
sequence_track
_GetParam
,
IDirectMusicTrack8Impl
_SetParam
,
sequence_track
_SetParam
,
IDirectMusicTrack8Impl
_IsParamSupported
,
sequence_track
_IsParamSupported
,
IDirectMusicTrack8Impl
_AddNotificationType
,
sequence_track
_AddNotificationType
,
IDirectMusicTrack8Impl
_RemoveNotificationType
,
sequence_track
_RemoveNotificationType
,
IDirectMusicTrack8Impl
_Clone
,
sequence_track
_Clone
,
IDirectMusicTrack8Impl
_PlayEx
,
sequence_track
_PlayEx
,
IDirectMusicTrack8Impl
_GetParamEx
,
sequence_track
_GetParamEx
,
IDirectMusicTrack8Impl
_SetParamEx
,
sequence_track
_SetParamEx
,
IDirectMusicTrack8Impl
_Compose
,
sequence_track
_Compose
,
IDirectMusicTrack8Impl
_Join
sequence_track
_Join
};
};
static
HRESULT
WINAPI
track_IPersistStream_Load
(
IPersistStream
*
iface
,
IStream
*
stream
)
static
HRESULT
WINAPI
track_IPersistStream_Load
(
IPersistStream
*
iface
,
IStream
*
stream
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment