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
4af025a1
Commit
4af025a1
authored
Nov 12, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmscript: Rename IDirectMusicTrack8Impl to script_track.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cd522af0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
42 deletions
+40
-42
scripttrack.c
dlls/dmscript/scripttrack.c
+40
-42
No files found.
dlls/dmscript/scripttrack.c
View file @
4af025a1
...
...
@@ -43,7 +43,7 @@ static inline DirectMusicScriptTrack *impl_from_IPersistStream(IPersistStream *i
}
/* DirectMusicScriptTrack IDirectMusicTrack8 part: */
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_QueryInterface
(
IDirectMusicTrack8
*
iface
,
REFIID
riid
,
static
HRESULT
WINAPI
script_track
_QueryInterface
(
IDirectMusicTrack8
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -66,7 +66,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_QueryInterface(IDirectMusicTrack8 *
return
S_OK
;
}
static
ULONG
WINAPI
IDirectMusicTrack8Impl
_AddRef
(
IDirectMusicTrack8
*
iface
)
static
ULONG
WINAPI
script_track
_AddRef
(
IDirectMusicTrack8
*
iface
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -76,7 +76,7 @@ static ULONG WINAPI IDirectMusicTrack8Impl_AddRef(IDirectMusicTrack8 *iface)
return
ref
;
}
static
ULONG
WINAPI
IDirectMusicTrack8Impl
_Release
(
IDirectMusicTrack8
*
iface
)
static
ULONG
WINAPI
script_track
_Release
(
IDirectMusicTrack8
*
iface
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -91,15 +91,14 @@ static ULONG WINAPI IDirectMusicTrack8Impl_Release(IDirectMusicTrack8 *iface)
return
ref
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Init
(
IDirectMusicTrack8
*
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
script_track_Init
(
IDirectMusicTrack8
*
iface
,
IDirectMusicSegment
*
pSegment
)
{
DirectMusicScriptTrack
*
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
script_track
_InitPlay
(
IDirectMusicTrack8
*
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
...
...
@@ -108,14 +107,14 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_InitPlay(IDirectMusicTrack8 *iface,
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_EndPlay
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
script_track
_EndPlay
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
)
{
DirectMusicScriptTrack
*
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
script_track
_Play
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
...
...
@@ -124,7 +123,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Play(IDirectMusicTrack8 *iface, voi
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
,
static
HRESULT
WINAPI
script_track
_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -132,7 +131,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParam(IDirectMusicTrack8 *iface,
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
,
static
HRESULT
WINAPI
script_track
_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -140,8 +139,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParam(IDirectMusicTrack8 *iface,
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
)
static
HRESULT
WINAPI
script_track_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -151,7 +149,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_IsParamSupported(IDirectMusicTrack8
return
DMUS_E_TYPE_UNSUPPORTED
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
script_track
_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidNotificationType
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -159,7 +157,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_AddNotificationType(IDirectMusicTra
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
static
HRESULT
WINAPI
script_track
_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidNotificationType
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -167,7 +165,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_RemoveNotificationType(IDirectMusic
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_Clone
(
IDirectMusicTrack8
*
iface
,
MUSIC_TIME
mtStart
,
static
HRESULT
WINAPI
script_track
_Clone
(
IDirectMusicTrack8
*
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -175,7 +173,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Clone(IDirectMusicTrack8 *iface, MU
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_PlayEx
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
,
static
HRESULT
WINAPI
script_track
_PlayEx
(
IDirectMusicTrack8
*
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
...
...
@@ -185,9 +183,9 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_PlayEx(IDirectMusicTrack8 *iface, v
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_GetParamEx
(
IDirectMusicTrack8
*
ifac
e
,
REF
GUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
script_track_GetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidTyp
e
,
REF
ERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
...
...
@@ -195,8 +193,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_GetParamEx(IDirectMusicTrack8 *ifac
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_SetParamEx
(
IDirectMusicTrack8
*
ifac
e
,
REF
GUID
rguidType
,
REF
ERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
script_track_SetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidTyp
e
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
...
...
@@ -204,7 +202,7 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_SetParamEx(IDirectMusicTrack8 *ifac
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl
_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
pContext
,
static
HRESULT
WINAPI
script_track
_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -212,8 +210,8 @@ static HRESULT WINAPI IDirectMusicTrack8Impl_Compose(IDirectMusicTrack8 *iface,
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Join
(
IDirectMusicTrack8
*
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
static
HRESULT
WINAPI
script_track_Join
(
IDirectMusicTrack8
*
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
DirectMusicScriptTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
...
...
@@ -222,24 +220,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
script_track
_QueryInterface
,
script_track
_AddRef
,
script_track
_Release
,
script_track
_Init
,
script_track
_InitPlay
,
script_track
_EndPlay
,
script_track
_Play
,
script_track
_GetParam
,
script_track
_SetParam
,
script_track
_IsParamSupported
,
script_track
_AddNotificationType
,
script_track
_RemoveNotificationType
,
script_track
_Clone
,
script_track
_PlayEx
,
script_track
_GetParamEx
,
script_track
_SetParamEx
,
script_track
_Compose
,
script_track
_Join
};
/* IDirectMusicScriptTrack IPersistStream part: */
...
...
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