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
02412469
Commit
02412469
authored
Jun 30, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Implement the E_NOTIMPL methods of IDirectMusicTrack8.
parent
3a64eb2c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
121 additions
and
55 deletions
+121
-55
auditiontrack.c
dlls/dmstyle/auditiontrack.c
+22
-10
chordtrack.c
dlls/dmstyle/chordtrack.c
+13
-5
commandtrack.c
dlls/dmstyle/commandtrack.c
+13
-5
motiftrack.c
dlls/dmstyle/motiftrack.c
+22
-10
mutetrack.c
dlls/dmstyle/mutetrack.c
+38
-20
styletrack.c
dlls/dmstyle/styletrack.c
+13
-5
No files found.
dlls/dmstyle/auditiontrack.c
View file @
02412469
...
@@ -93,6 +93,11 @@ static const IUnknownVtbl DirectMusicAuditionTrack_Unknown_Vtbl = {
...
@@ -93,6 +93,11 @@ static const IUnknownVtbl DirectMusicAuditionTrack_Unknown_Vtbl = {
};
};
/* IDirectMusicAuditionTrack IDirectMusicTrack8 part: */
/* IDirectMusicAuditionTrack IDirectMusicTrack8 part: */
static
inline
IDirectMusicAuditionTrack
*
impl_from_IDirectMusicTrack8
(
IDirectMusicTrack8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicAuditionTrack
,
TrackVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicAuditionTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicAuditionTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicAuditionTrack
,
TrackVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicAuditionTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicAuditionTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicAuditionTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
...
@@ -200,16 +205,23 @@ static HRESULT WINAPI IDirectMusicAuditionTrack_IDirectMusicTrack_SetParamEx (LP
...
@@ -200,16 +205,23 @@ static HRESULT WINAPI IDirectMusicAuditionTrack_IDirectMusicTrack_SetParamEx (LP
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicAuditionTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
ICOM_THIS_MULTI
(
IDirectMusicAuditionTrack
,
TrackVtbl
,
iface
);
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
{
return
S_OK
;
IDirectMusicAuditionTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p): method not implemented
\n
"
,
This
,
context
,
trackgroup
,
track
);
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicAuditionTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Join
(
IDirectMusicTrack8
*
iface
,
ICOM_THIS_MULTI
(
IDirectMusicAuditionTrack
,
TrackVtbl
,
iface
);
IDirectMusicTrack
*
newtrack
,
MUSIC_TIME
join
,
IUnknown
*
context
,
DWORD
trackgroup
,
FIXME
(
"(%p, %p, %d, %p, %d, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
IDirectMusicTrack
**
resulttrack
)
return
S_OK
;
{
IDirectMusicAuditionTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p, %d, %p): stub
\n
"
,
This
,
newtrack
,
join
,
context
,
trackgroup
,
resulttrack
);
return
E_NOTIMPL
;
}
}
static
const
IDirectMusicTrack8Vtbl
DirectMusicAuditionTrack_Track_Vtbl
=
{
static
const
IDirectMusicTrack8Vtbl
DirectMusicAuditionTrack_Track_Vtbl
=
{
...
@@ -229,8 +241,8 @@ static const IDirectMusicTrack8Vtbl DirectMusicAuditionTrack_Track_Vtbl = {
...
@@ -229,8 +241,8 @@ static const IDirectMusicTrack8Vtbl DirectMusicAuditionTrack_Track_Vtbl = {
IDirectMusicAuditionTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicAuditionTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicAuditionTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicAuditionTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicAuditionTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicAuditionTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicAuditionTrack_IDirectMusicTrack
_Compose
,
IDirectMusicTrack8Impl
_Compose
,
IDirectMusicAuditionTrack_IDirectMusicTrack
_Join
IDirectMusicTrack8Impl
_Join
};
};
/* IDirectMusicAuditionTrack IPersistStream part: */
/* IDirectMusicAuditionTrack IPersistStream part: */
...
...
dlls/dmstyle/chordtrack.c
View file @
02412469
...
@@ -96,6 +96,11 @@ static const IUnknownVtbl DirectMusicChordTrack_Unknown_Vtbl = {
...
@@ -96,6 +96,11 @@ static const IUnknownVtbl DirectMusicChordTrack_Unknown_Vtbl = {
};
};
/* IDirectMusicChordTrack IDirectMusicTrack8 part: */
/* IDirectMusicChordTrack IDirectMusicTrack8 part: */
static
inline
IDirectMusicChordTrack
*
impl_from_IDirectMusicTrack8
(
IDirectMusicTrack8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicChordTrack
,
TrackVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicChordTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicChordTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordTrack
,
TrackVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicChordTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicChordTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicChordTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
...
@@ -207,10 +212,13 @@ static HRESULT WINAPI IDirectMusicChordTrack_IDirectMusicTrack_SetParamEx (LPDIR
...
@@ -207,10 +212,13 @@ static HRESULT WINAPI IDirectMusicChordTrack_IDirectMusicTrack_SetParamEx (LPDIR
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicChordTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
ICOM_THIS_MULTI
(
IDirectMusicChordTrack
,
TrackVtbl
,
iface
);
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
{
return
S_OK
;
IDirectMusicChordTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p): method not implemented
\n
"
,
This
,
context
,
trackgroup
,
track
);
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicChordTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicChordTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
...
@@ -236,7 +244,7 @@ static const IDirectMusicTrack8Vtbl DirectMusicChordTrack_Track_Vtbl = {
...
@@ -236,7 +244,7 @@ static const IDirectMusicTrack8Vtbl DirectMusicChordTrack_Track_Vtbl = {
IDirectMusicChordTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicChordTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicChordTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicChordTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicChordTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicChordTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusic
ChordTrack_IDirectMusicTrack
_Compose
,
IDirectMusic
Track8Impl
_Compose
,
IDirectMusicChordTrack_IDirectMusicTrack_Join
IDirectMusicChordTrack_IDirectMusicTrack_Join
};
};
...
...
dlls/dmstyle/commandtrack.c
View file @
02412469
...
@@ -95,6 +95,11 @@ static const IUnknownVtbl DirectMusicCommandTrack_Unknown_Vtbl = {
...
@@ -95,6 +95,11 @@ static const IUnknownVtbl DirectMusicCommandTrack_Unknown_Vtbl = {
};
};
/* IDirectMusicCommandTrack IDirectMusicTrack8 part: */
/* IDirectMusicCommandTrack IDirectMusicTrack8 part: */
static
inline
IDirectMusicCommandTrack
*
impl_from_IDirectMusicTrack8
(
IDirectMusicTrack8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicCommandTrack
,
TrackVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicCommandTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicCommandTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicCommandTrack
,
TrackVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicCommandTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicCommandTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicCommandTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
...
@@ -208,10 +213,13 @@ static HRESULT WINAPI IDirectMusicCommandTrack_IDirectMusicTrack_SetParamEx (LPD
...
@@ -208,10 +213,13 @@ static HRESULT WINAPI IDirectMusicCommandTrack_IDirectMusicTrack_SetParamEx (LPD
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicCommandTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
ICOM_THIS_MULTI
(
IDirectMusicCommandTrack
,
TrackVtbl
,
iface
);
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
{
return
S_OK
;
IDirectMusicCommandTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p): method not implemented
\n
"
,
This
,
context
,
trackgroup
,
track
);
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicCommandTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicCommandTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
...
@@ -237,7 +245,7 @@ static const IDirectMusicTrack8Vtbl DirectMusicCommandTrack_Track_Vtbl = {
...
@@ -237,7 +245,7 @@ static const IDirectMusicTrack8Vtbl DirectMusicCommandTrack_Track_Vtbl = {
IDirectMusicCommandTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicCommandTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicCommandTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicCommandTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicCommandTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicCommandTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicCommandTrack_IDirectMusicTrack
_Compose
,
IDirectMusicTrack8Impl
_Compose
,
IDirectMusicCommandTrack_IDirectMusicTrack_Join
IDirectMusicCommandTrack_IDirectMusicTrack_Join
};
};
...
...
dlls/dmstyle/motiftrack.c
View file @
02412469
...
@@ -93,6 +93,11 @@ static const IUnknownVtbl DirectMusicMotifTrack_Unknown_Vtbl = {
...
@@ -93,6 +93,11 @@ static const IUnknownVtbl DirectMusicMotifTrack_Unknown_Vtbl = {
};
};
/* IDirectMusicMotifTrack IDirectMusicTrack8 part: */
/* IDirectMusicMotifTrack IDirectMusicTrack8 part: */
static
inline
IDirectMusicMotifTrack
*
impl_from_IDirectMusicTrack8
(
IDirectMusicTrack8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicMotifTrack
,
TrackVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicMotifTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicMotifTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicMotifTrack
,
TrackVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicMotifTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicMotifTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicMotifTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
...
@@ -206,16 +211,23 @@ static HRESULT WINAPI IDirectMusicMotifTrack_IDirectMusicTrack_SetParamEx (LPDIR
...
@@ -206,16 +211,23 @@ static HRESULT WINAPI IDirectMusicMotifTrack_IDirectMusicTrack_SetParamEx (LPDIR
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicMotifTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
ICOM_THIS_MULTI
(
IDirectMusicMotifTrack
,
TrackVtbl
,
iface
);
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
{
return
S_OK
;
IDirectMusicMotifTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p): method not implemented
\n
"
,
This
,
context
,
trackgroup
,
track
);
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicMotifTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Join
(
IDirectMusicTrack8
*
iface
,
ICOM_THIS_MULTI
(
IDirectMusicMotifTrack
,
TrackVtbl
,
iface
);
IDirectMusicTrack
*
newtrack
,
MUSIC_TIME
join
,
IUnknown
*
context
,
DWORD
trackgroup
,
FIXME
(
"(%p, %p, %d, %p, %d, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
IDirectMusicTrack
**
resulttrack
)
return
S_OK
;
{
IDirectMusicMotifTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p, %d, %p): stub
\n
"
,
This
,
newtrack
,
join
,
context
,
trackgroup
,
resulttrack
);
return
E_NOTIMPL
;
}
}
static
const
IDirectMusicTrack8Vtbl
DirectMusicMotifTrack_Track_Vtbl
=
{
static
const
IDirectMusicTrack8Vtbl
DirectMusicMotifTrack_Track_Vtbl
=
{
...
@@ -235,8 +247,8 @@ static const IDirectMusicTrack8Vtbl DirectMusicMotifTrack_Track_Vtbl = {
...
@@ -235,8 +247,8 @@ static const IDirectMusicTrack8Vtbl DirectMusicMotifTrack_Track_Vtbl = {
IDirectMusicMotifTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicMotifTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicMotifTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicMotifTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicMotifTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicMotifTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicMotifTrack_IDirectMusicTrack
_Compose
,
IDirectMusicTrack8Impl
_Compose
,
IDirectMusicMotifTrack_IDirectMusicTrack
_Join
IDirectMusicTrack8Impl
_Join
};
};
/* IDirectMusicMotifTrack IPersistStream part: */
/* IDirectMusicMotifTrack IPersistStream part: */
...
...
dlls/dmstyle/mutetrack.c
View file @
02412469
...
@@ -93,6 +93,11 @@ static const IUnknownVtbl DirectMusicMuteTrack_Unknown_Vtbl = {
...
@@ -93,6 +93,11 @@ static const IUnknownVtbl DirectMusicMuteTrack_Unknown_Vtbl = {
};
};
/* IDirectMusicMuteTrack IDirectMusicTrack8 part: */
/* IDirectMusicMuteTrack IDirectMusicTrack8 part: */
static
inline
IDirectMusicMuteTrack
*
impl_from_IDirectMusicTrack8
(
IDirectMusicTrack8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicMuteTrack
,
TrackVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicMuteTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicMuteTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicMuteTrack
,
TrackVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicMuteTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicMuteTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicMuteTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
...
@@ -164,16 +169,22 @@ static HRESULT WINAPI IDirectMusicMuteTrack_IDirectMusicTrack_IsParamSupported (
...
@@ -164,16 +169,22 @@ static HRESULT WINAPI IDirectMusicMuteTrack_IDirectMusicTrack_IsParamSupported (
return
DMUS_E_TYPE_UNSUPPORTED
;
return
DMUS_E_TYPE_UNSUPPORTED
;
}
}
static
HRESULT
WINAPI
IDirectMusicMuteTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
ICOM_THIS_MULTI
(
IDirectMusicMuteTrack
,
TrackVtbl
,
iface
);
REFGUID
notiftype
)
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
{
return
S_OK
;
IDirectMusicMuteTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
notiftype
));
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicMuteTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
ICOM_THIS_MULTI
(
IDirectMusicMuteTrack
,
TrackVtbl
,
iface
);
REFGUID
notiftype
)
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
{
return
S_OK
;
IDirectMusicMuteTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
notiftype
));
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicMuteTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicMuteTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
...
@@ -203,16 +214,23 @@ static HRESULT WINAPI IDirectMusicMuteTrack_IDirectMusicTrack_SetParamEx (LPDIRE
...
@@ -203,16 +214,23 @@ static HRESULT WINAPI IDirectMusicMuteTrack_IDirectMusicTrack_SetParamEx (LPDIRE
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicMuteTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
ICOM_THIS_MULTI
(
IDirectMusicMuteTrack
,
TrackVtbl
,
iface
);
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
{
return
S_OK
;
IDirectMusicMuteTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p): method not implemented
\n
"
,
This
,
context
,
trackgroup
,
track
);
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicMuteTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Join
(
IDirectMusicTrack8
*
iface
,
ICOM_THIS_MULTI
(
IDirectMusicMuteTrack
,
TrackVtbl
,
iface
);
IDirectMusicTrack
*
newtrack
,
MUSIC_TIME
join
,
IUnknown
*
context
,
DWORD
trackgroup
,
FIXME
(
"(%p, %p, %d, %p, %d, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
IDirectMusicTrack
**
resulttrack
)
return
S_OK
;
{
IDirectMusicMuteTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p, %d, %p): stub
\n
"
,
This
,
newtrack
,
join
,
context
,
trackgroup
,
resulttrack
);
return
E_NOTIMPL
;
}
}
static
const
IDirectMusicTrack8Vtbl
DirectMusicMuteTrack_Track_Vtbl
=
{
static
const
IDirectMusicTrack8Vtbl
DirectMusicMuteTrack_Track_Vtbl
=
{
...
@@ -226,14 +244,14 @@ static const IDirectMusicTrack8Vtbl DirectMusicMuteTrack_Track_Vtbl = {
...
@@ -226,14 +244,14 @@ static const IDirectMusicTrack8Vtbl DirectMusicMuteTrack_Track_Vtbl = {
IDirectMusicMuteTrack_IDirectMusicTrack_GetParam
,
IDirectMusicMuteTrack_IDirectMusicTrack_GetParam
,
IDirectMusicMuteTrack_IDirectMusicTrack_SetParam
,
IDirectMusicMuteTrack_IDirectMusicTrack_SetParam
,
IDirectMusicMuteTrack_IDirectMusicTrack_IsParamSupported
,
IDirectMusicMuteTrack_IDirectMusicTrack_IsParamSupported
,
IDirectMusicMuteTrack_IDirectMusicTrack
_AddNotificationType
,
IDirectMusicTrack8Impl
_AddNotificationType
,
IDirectMusicMuteTrack_IDirectMusicTrack
_RemoveNotificationType
,
IDirectMusicTrack8Impl
_RemoveNotificationType
,
IDirectMusicMuteTrack_IDirectMusicTrack_Clone
,
IDirectMusicMuteTrack_IDirectMusicTrack_Clone
,
IDirectMusicMuteTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicMuteTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicMuteTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicMuteTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicMuteTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicMuteTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicMuteTrack_IDirectMusicTrack
_Compose
,
IDirectMusicTrack8Impl
_Compose
,
IDirectMusicMuteTrack_IDirectMusicTrack
_Join
IDirectMusicTrack8Impl
_Join
};
};
/* IDirectMusicMuteTrack IPersistStream part: */
/* IDirectMusicMuteTrack IPersistStream part: */
...
...
dlls/dmstyle/styletrack.c
View file @
02412469
...
@@ -95,6 +95,11 @@ static const IUnknownVtbl DirectMusicStyleTrack_Unknown_Vtbl = {
...
@@ -95,6 +95,11 @@ static const IUnknownVtbl DirectMusicStyleTrack_Unknown_Vtbl = {
};
};
/* IDirectMusicStyleTrack IDirectMusicTrack8 part: */
/* IDirectMusicStyleTrack IDirectMusicTrack8 part: */
static
inline
IDirectMusicStyleTrack
*
impl_from_IDirectMusicTrack8
(
IDirectMusicTrack8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicStyleTrack
,
TrackVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicStyleTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicStyleTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicStyleTrack
,
TrackVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicStyleTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicStyleTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicStyleTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
...
@@ -209,10 +214,13 @@ static HRESULT WINAPI IDirectMusicStyleTrack_IDirectMusicTrack_SetParamEx (LPDIR
...
@@ -209,10 +214,13 @@ static HRESULT WINAPI IDirectMusicStyleTrack_IDirectMusicTrack_SetParamEx (LPDIR
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicStyleTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
ICOM_THIS_MULTI
(
IDirectMusicStyleTrack
,
TrackVtbl
,
iface
);
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
{
return
S_OK
;
IDirectMusicStyleTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p): method not implemented
\n
"
,
This
,
context
,
trackgroup
,
track
);
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirectMusicStyleTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicStyleTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
...
@@ -238,7 +246,7 @@ static const IDirectMusicTrack8Vtbl DirectMusicStyleTrack_Track_Vtbl = {
...
@@ -238,7 +246,7 @@ static const IDirectMusicTrack8Vtbl DirectMusicStyleTrack_Track_Vtbl = {
IDirectMusicStyleTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicStyleTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicStyleTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicStyleTrack_IDirectMusicTrack_GetParamEx
,
IDirectMusicStyleTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicStyleTrack_IDirectMusicTrack_SetParamEx
,
IDirectMusicStyleTrack_IDirectMusicTrack
_Compose
,
IDirectMusicTrack8Impl
_Compose
,
IDirectMusicStyleTrack_IDirectMusicTrack_Join
IDirectMusicStyleTrack_IDirectMusicTrack_Join
};
};
...
...
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