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
965d72dd
Commit
965d72dd
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 sysex_track.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4ded9fed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
43 deletions
+39
-43
sysextrack.c
dlls/dmime/sysextrack.c
+39
-43
No files found.
dlls/dmime/sysextrack.c
View file @
965d72dd
...
...
@@ -37,7 +37,7 @@ static inline IDirectMusicSysExTrack *impl_from_IDirectMusicTrack8(IDirectMusicT
return
CONTAINING_RECORD
(
iface
,
IDirectMusicSysExTrack
,
IDirectMusicTrack8_iface
);
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_QueryInterface
(
IDirectMusicTrack8
*
iface
,
REFIID
riid
,
static
HRESULT
WINAPI
sysex_track
_QueryInterface
(
IDirectMusicTrack8
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
{
IDirectMusicSysExTrack
*
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
sysex_track
_AddRef
(
IDirectMusicTrack8
*
iface
)
{
IDirectMusicSysExTrack
*
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
sysex_track
_Release
(
IDirectMusicTrack8
*
iface
)
{
IDirectMusicSysExTrack
*
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
sysex_track_Init
(
IDirectMusicTrack8
*
iface
,
IDirectMusicSegment
*
pSegment
)
{
IDirectMusicSysExTrack
*
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
sysex_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
sysex_track
_EndPlay
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
)
{
IDirectMusicSysExTrack
*
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
sysex_track
_Play
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
...
...
@@ -118,8 +117,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Play(IDirectMusicTrack8 *iface, voi
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
typ
e
,
MUSIC_TIME
time
,
MUSIC_TIME
*
next
,
void
*
param
)
static
HRESULT
WINAPI
sysex_track_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
MUSIC_TIME
tim
e
,
MUSIC_TIME
*
next
,
void
*
param
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -128,8 +127,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface,
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
typ
e
,
MUSIC_TIME
time
,
void
*
param
)
static
HRESULT
WINAPI
sysex_track_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
MUSIC_TIME
tim
e
,
void
*
param
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -137,8 +136,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface,
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
)
static
HRESULT
WINAPI
sysex_track_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -146,8 +144,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
notiftype
)
static
HRESULT
WINAPI
sysex_track_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
notiftype
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -155,7 +152,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTra
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
sysex_track
_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
notiftype
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -164,7 +161,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusic
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_Clone
(
IDirectMusicTrack8
*
iface
,
MUSIC_TIME
mtStart
,
static
HRESULT
WINAPI
sysex_track
_Clone
(
IDirectMusicTrack8
*
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -172,7 +169,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MU
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_PlayEx
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
,
static
HRESULT
WINAPI
sysex_track
_PlayEx
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
...
...
@@ -182,7 +179,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, v
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_GetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
static
HRESULT
WINAPI
sysex_track
_GetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
REFERENCE_TIME
time
,
REFERENCE_TIME
*
next
,
void
*
param
,
void
*
state
,
DWORD
flags
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -192,7 +189,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *ifac
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_SetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
static
HRESULT
WINAPI
sysex_track
_SetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
REFERENCE_TIME
time
,
void
*
param
,
void
*
state
,
DWORD
flags
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -202,7 +199,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *ifac
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
static
HRESULT
WINAPI
sysex_track
_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -211,9 +208,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
sysex_track_Join
(
IDirectMusicTrack8
*
iface
,
IDirectMusicTrack
*
newtrack
,
MUSIC_TIME
join
,
IUnknown
*
context
,
DWORD
trackgroup
,
IDirectMusicTrack
**
resulttrack
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p, %d, %p): method not implemented
\n
"
,
This
,
newtrack
,
join
,
context
,
...
...
@@ -222,24 +218,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
sysex_track
_QueryInterface
,
sysex_track
_AddRef
,
sysex_track
_Release
,
sysex_track
_Init
,
sysex_track
_InitPlay
,
sysex_track
_EndPlay
,
sysex_track
_Play
,
sysex_track
_GetParam
,
sysex_track
_SetParam
,
sysex_track
_IsParamSupported
,
sysex_track
_AddNotificationType
,
sysex_track
_RemoveNotificationType
,
sysex_track
_Clone
,
sysex_track
_PlayEx
,
sysex_track
_GetParamEx
,
sysex_track
_SetParamEx
,
sysex_track
_Compose
,
sysex_track
_Join
};
static
HRESULT
WINAPI
sys_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