Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
6a73a8cd
Commit
6a73a8cd
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 lyrics_track.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5169c922
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
44 deletions
+40
-44
lyricstrack.c
dlls/dmime/lyricstrack.c
+40
-44
No files found.
dlls/dmime/lyricstrack.c
View file @
6a73a8cd
...
@@ -37,7 +37,7 @@ static inline IDirectMusicLyricsTrack *impl_from_IDirectMusicTrack8(IDirectMusic
...
@@ -37,7 +37,7 @@ static inline IDirectMusicLyricsTrack *impl_from_IDirectMusicTrack8(IDirectMusic
return
CONTAINING_RECORD
(
iface
,
IDirectMusicLyricsTrack
,
IDirectMusicTrack8_iface
);
return
CONTAINING_RECORD
(
iface
,
IDirectMusicLyricsTrack
,
IDirectMusicTrack8_iface
);
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_QueryInterface
(
IDirectMusicTrack8
*
iface
,
REFIID
riid
,
static
HRESULT
WINAPI
lyrics_track
_QueryInterface
(
IDirectMusicTrack8
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
void
**
ret_iface
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
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
lyrics_track
_AddRef
(
IDirectMusicTrack8
*
iface
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
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
lyrics_track
_Release
(
IDirectMusicTrack8
*
iface
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
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
lyrics_track_Init
(
IDirectMusicTrack8
*
iface
,
IDirectMusicSegment
*
pSegment
)
IDirectMusicSegment
*
pSegment
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
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
lyrics_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
lyrics_track
_EndPlay
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
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
lyrics_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
rguidType
,
static
HRESULT
WINAPI
lyrics_track
_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -126,7 +125,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface,
...
@@ -126,7 +125,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
lyrics_track
_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -134,8 +133,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface,
...
@@ -134,8 +133,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface,
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
lyrics_track_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
)
REFGUID
rguidType
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -145,8 +143,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8
...
@@ -145,8 +143,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
lyrics_track_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
notiftype
)
REFGUID
notiftype
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -154,7 +151,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTra
...
@@ -154,7 +151,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTra
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
lyrics_track
_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
notiftype
)
REFGUID
notiftype
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -163,7 +160,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusic
...
@@ -163,7 +160,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
lyrics_track
_Clone
(
IDirectMusicTrack8
*
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -171,7 +168,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MU
...
@@ -171,7 +168,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
lyrics_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
)
{
{
...
@@ -181,9 +178,9 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, v
...
@@ -181,9 +178,9 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, v
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_GetParamEx
(
IDirectMusicTrack8
*
ifac
e
,
static
HRESULT
WINAPI
lyrics_track_GetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidTyp
e
,
REF
GUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
REF
ERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
void
*
pStateData
,
DWORD
dwFlags
)
DWORD
dwFlags
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
...
@@ -191,8 +188,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *ifac
...
@@ -191,8 +188,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *ifac
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_SetParamEx
(
IDirectMusicTrack8
*
ifac
e
,
static
HRESULT
WINAPI
lyrics_track_SetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidTyp
e
,
REF
GUID
rguidType
,
REF
ERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
FIXME
(
"(%p, %s, 0x%s, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
...
@@ -200,7 +197,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *ifac
...
@@ -200,7 +197,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
lyrics_track
_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
@@ -209,9 +206,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface,
...
@@ -209,9 +206,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Join
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
lyrics_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
)
{
{
IDirectMusicLyricsTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicLyricsTrack
*
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
,
...
@@ -220,24 +216,24 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Join(IDirectMusicTrack8 *iface,
...
@@ -220,24 +216,24 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Join(IDirectMusicTrack8 *iface,
}
}
static
const
IDirectMusicTrack8Vtbl
dmtrack8_vtbl
=
{
static
const
IDirectMusicTrack8Vtbl
dmtrack8_vtbl
=
{
IDirectMusicTrack8Impl
_QueryInterface
,
lyrics_track
_QueryInterface
,
IDirectMusicTrack8Impl
_AddRef
,
lyrics_track
_AddRef
,
IDirectMusicTrack8Impl
_Release
,
lyrics_track
_Release
,
IDirectMusicTrack8Impl
_Init
,
lyrics_track
_Init
,
IDirectMusicTrack8Impl
_InitPlay
,
lyrics_track
_InitPlay
,
IDirectMusicTrack8Impl
_EndPlay
,
lyrics_track
_EndPlay
,
IDirectMusicTrack8Impl
_Play
,
lyrics_track
_Play
,
IDirectMusicTrack8Impl
_GetParam
,
lyrics_track
_GetParam
,
IDirectMusicTrack8Impl
_SetParam
,
lyrics_track
_SetParam
,
IDirectMusicTrack8Impl
_IsParamSupported
,
lyrics_track
_IsParamSupported
,
IDirectMusicTrack8Impl
_AddNotificationType
,
lyrics_track
_AddNotificationType
,
IDirectMusicTrack8Impl
_RemoveNotificationType
,
lyrics_track
_RemoveNotificationType
,
IDirectMusicTrack8Impl
_Clone
,
lyrics_track
_Clone
,
IDirectMusicTrack8Impl
_PlayEx
,
lyrics_track
_PlayEx
,
IDirectMusicTrack8Impl
_GetParamEx
,
lyrics_track
_GetParamEx
,
IDirectMusicTrack8Impl
_SetParamEx
,
lyrics_track
_SetParamEx
,
IDirectMusicTrack8Impl
_Compose
,
lyrics_track
_Compose
,
IDirectMusicTrack8Impl
_Join
lyrics_track
_Join
};
};
static
HRESULT
WINAPI
lyrics_IPersistStream_Load
(
IPersistStream
*
iface
,
IStream
*
stream
)
static
HRESULT
WINAPI
lyrics_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