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
9b4ed885
Commit
9b4ed885
authored
Jul 03, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Implement the E_NOTIMPL methods of IDMTrack8 for DMSysExTrack.
parent
4a766427
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
49 deletions
+80
-49
sysextrack.c
dlls/dmime/sysextrack.c
+80
-49
No files found.
dlls/dmime/sysextrack.c
View file @
9b4ed885
...
...
@@ -88,6 +88,11 @@ static const IUnknownVtbl DirectMusicSysExTrack_Unknown_Vtbl = {
};
/* IDirectMusicSysExTrack IDirectMusicTrack8 part: */
static
inline
IDirectMusicSysExTrack
*
impl_from_IDirectMusicTrack8
(
IDirectMusicTrack8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicSysExTrack
,
TrackVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
...
...
@@ -131,37 +136,50 @@ static HRESULT WINAPI IDirectMusicSysExTrack_IDirectMusicTrack_Play (LPDIRECTMUS
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %d, %p, %p): stub
\n
"
,
This
,
debugstr_guid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
MUSIC_TIME
time
,
MUSIC_TIME
*
next
,
void
*
param
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s, %d, %p, %p): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
type
),
time
,
next
,
param
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %d, %p): stub
\n
"
,
This
,
debugstr_guid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
MUSIC_TIME
time
,
void
*
param
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s, %d, %p): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
type
),
time
,
param
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s)
\n
"
,
This
,
debugstr_guid
(
rguidType
));
/* didn't find any params */
TRACE
(
"param unsupported
\n
"
);
return
DMUS_E_TYPE_UNSUPPORTED
;
TRACE
(
"(%p, %s): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
type
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_guid
(
rguidNotificationType
));
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_AddNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
notiftype
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
notiftype
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_guid
(
rguidNotificationType
));
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_RemoveNotificationType
(
IDirectMusicTrack8
*
iface
,
REFGUID
notiftype
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
notiftype
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
...
...
@@ -177,30 +195,43 @@ static HRESULT WINAPI IDirectMusicSysExTrack_IDirectMusicTrack_PlayEx (LPDIRECTM
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %d): stub
\n
"
,
This
,
debugstr_guid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_GetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
REFERENCE_TIME
time
,
REFERENCE_TIME
*
next
,
void
*
param
,
void
*
state
,
DWORD
flags
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s, %s, %p, %p, %p, %x): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
type
),
wine_dbgstr_longlong
(
time
),
next
,
param
,
state
,
flags
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %d): stub
\n
"
,
This
,
debugstr_guid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_SetParamEx
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
REFERENCE_TIME
time
,
void
*
param
,
void
*
state
,
DWORD
flags
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s, %s, %p, %p, %x): method not implemented
\n
"
,
This
,
debugstr_dmguid
(
type
),
wine_dbgstr_longlong
(
time
),
param
,
state
,
flags
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_Compose
(
IDirectMusicTrack8
*
iface
,
IUnknown
*
context
,
DWORD
trackgroup
,
IDirectMusicTrack
**
track
)
{
IDirectMusicSysExTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %p, %d, %p): method not implemented
\n
"
,
This
,
context
,
trackgroup
,
track
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %d, %p, %d, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicTrack8Impl_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
,
trackgroup
,
resulttrack
);
return
E_NOTIMPL
;
}
static
const
IDirectMusicTrack8Vtbl
DirectMusicSysExTrack_Track_Vtbl
=
{
...
...
@@ -211,17 +242,17 @@ static const IDirectMusicTrack8Vtbl DirectMusicSysExTrack_Track_Vtbl = {
IDirectMusicSysExTrack_IDirectMusicTrack_InitPlay
,
IDirectMusicSysExTrack_IDirectMusicTrack_EndPlay
,
IDirectMusicSysExTrack_IDirectMusicTrack_Play
,
IDirectMusicSysExTrack_IDirectMusicTrack
_GetParam
,
IDirectMusicSysExTrack_IDirectMusicTrack
_SetParam
,
IDirectMusicSysExTrack_IDirectMusicTrack
_IsParamSupported
,
IDirectMusicSysExTrack_IDirectMusicTrack
_AddNotificationType
,
IDirectMusicSysExTrack_IDirectMusicTrack
_RemoveNotificationType
,
IDirectMusicTrack8Impl
_GetParam
,
IDirectMusicTrack8Impl
_SetParam
,
IDirectMusicTrack8Impl
_IsParamSupported
,
IDirectMusicTrack8Impl
_AddNotificationType
,
IDirectMusicTrack8Impl
_RemoveNotificationType
,
IDirectMusicSysExTrack_IDirectMusicTrack_Clone
,
IDirectMusicSysExTrack_IDirectMusicTrack_PlayEx
,
IDirectMusicSysExTrack_IDirectMusicTrack
_GetParamEx
,
IDirectMusicSysExTrack_IDirectMusicTrack
_SetParamEx
,
IDirectMusicSysExTrack_IDirectMusicTrack
_Compose
,
IDirectMusicSysExTrack_IDirectMusicTrack
_Join
IDirectMusicTrack8Impl
_GetParamEx
,
IDirectMusicTrack8Impl
_SetParamEx
,
IDirectMusicTrack8Impl
_Compose
,
IDirectMusicTrack8Impl
_Join
};
/* IDirectMusicSysExTrack 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