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
ff536fbe
Commit
ff536fbe
authored
Jun 20, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make functions static.
parent
009781d4
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
344 additions
and
344 deletions
+344
-344
audiopath.c
dlls/dmime/audiopath.c
+15
-15
dmutils.c
dlls/dmime/dmutils.c
+1
-1
graph.c
dlls/dmime/graph.c
+16
-16
lyricstrack.c
dlls/dmime/lyricstrack.c
+23
-23
markertrack.c
dlls/dmime/markertrack.c
+23
-23
paramcontroltrack.c
dlls/dmime/paramcontroltrack.c
+23
-23
patterntrack.c
dlls/dmime/patterntrack.c
+4
-4
performance.c
dlls/dmime/performance.c
+47
-47
segment.c
dlls/dmime/segment.c
+40
-40
segmentstate.c
dlls/dmime/segmentstate.c
+7
-7
segtriggertrack.c
dlls/dmime/segtriggertrack.c
+23
-23
seqtrack.c
dlls/dmime/seqtrack.c
+23
-23
sysextrack.c
dlls/dmime/sysextrack.c
+23
-23
tempotrack.c
dlls/dmime/tempotrack.c
+22
-22
timesigtrack.c
dlls/dmime/timesigtrack.c
+23
-23
tool.c
dlls/dmime/tool.c
+8
-8
wavetrack.c
dlls/dmime/wavetrack.c
+23
-23
No files found.
dlls/dmime/audiopath.c
View file @
ff536fbe
...
...
@@ -63,7 +63,7 @@ ULONG WINAPI IDirectMusicAudioPathImpl_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicAudioPathImpl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -97,12 +97,12 @@ ULONG WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_AddRef (LPDIRECTMUS
return
IDirectMusicAudioPathImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Release
(
LPDIRECTMUSICAUDIOPATH
iface
)
{
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Release
(
LPDIRECTMUSICAUDIOPATH
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
AudioPathVtbl
,
iface
);
return
IDirectMusicAudioPathImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_GetObjectInPath
(
LPDIRECTMUSICAUDIOPATH
iface
,
DWORD
dwPChannel
,
DWORD
dwStage
,
DWORD
dwBuffer
,
REFGUID
guidObject
,
WORD
dwIndex
,
REFGUID
iidInterface
,
void
**
ppObject
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_GetObjectInPath
(
LPDIRECTMUSICAUDIOPATH
iface
,
DWORD
dwPChannel
,
DWORD
dwStage
,
DWORD
dwBuffer
,
REFGUID
guidObject
,
WORD
dwIndex
,
REFGUID
iidInterface
,
void
**
ppObject
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
AudioPathVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %ld, %s, %d, %s, %p): stub
\n
"
,
This
,
dwPChannel
,
dwStage
,
dwBuffer
,
debugstr_dmguid
(
guidObject
),
dwIndex
,
debugstr_dmguid
(
iidInterface
),
ppObject
);
...
...
@@ -206,13 +206,13 @@ HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Activate (LPDIREC
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_SetVolume
(
LPDIRECTMUSICAUDIOPATH
iface
,
long
lVolume
,
DWORD
dwDuration
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_SetVolume
(
LPDIRECTMUSICAUDIOPATH
iface
,
long
lVolume
,
DWORD
dwDuration
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
AudioPathVtbl
,
iface
);
FIXME
(
"(%p, %li, %ld): stub
\n
"
,
This
,
lVolume
,
dwDuration
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_ConvertPChannel
(
LPDIRECTMUSICAUDIOPATH
iface
,
DWORD
dwPChannelIn
,
DWORD
*
pdwPChannelOut
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_ConvertPChannel
(
LPDIRECTMUSICAUDIOPATH
iface
,
DWORD
dwPChannelIn
,
DWORD
*
pdwPChannelOut
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
AudioPathVtbl
,
iface
);
FIXME
(
"(%p, %ld, %p): stub
\n
"
,
This
,
dwPChannelIn
,
pdwPChannelOut
);
return
S_OK
;
...
...
@@ -239,12 +239,12 @@ ULONG WINAPI IDirectMusicAudioPathImpl_IDirectMusicObject_AddRef (LPDIRECTMUSICO
return
IDirectMusicAudioPathImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
ObjectVtbl
,
iface
);
return
IDirectMusicAudioPathImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pDesc
);
/* I think we shouldn't return pointer here since then values can be changed; it'd be a mess */
...
...
@@ -252,7 +252,7 @@ HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicObject_GetDescriptor (LPDIR
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p): setting descriptor:
\n
%s
\n
"
,
This
,
pDesc
,
debugstr_DMUS_OBJECTDESC
(
pDesc
));
...
...
@@ -286,7 +286,7 @@ HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicObject_SetDescriptor (LPDIR
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
ObjectVtbl
,
iface
);
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
StreamSize
,
StreamCount
,
ListSize
[
1
],
ListCount
[
1
];
...
...
@@ -454,20 +454,20 @@ ULONG WINAPI IDirectMusicAudioPathImpl_IPersistStream_AddRef (LPPERSISTSTREAM if
return
IDirectMusicAudioPathImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicAudioPathImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
PersistStreamVtbl
,
iface
);
FOURCC
chunkID
;
...
...
@@ -614,11 +614,11 @@ HRESULT WINAPI IDirectMusicAudioPathImpl_IPersistStream_Load (LPPERSISTSTREAM if
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmime/dmutils.c
View file @
ff536fbe
...
...
@@ -264,7 +264,7 @@ const char *debugstr_dmversion (LPDMUS_VERSION version) {
}
/* month number into month name (for debugstr_filetime) */
const
char
*
debugstr_month
(
DWORD
dwMonth
)
{
static
const
char
*
debugstr_month
(
DWORD
dwMonth
)
{
switch
(
dwMonth
)
{
case
1
:
return
"January"
;
case
2
:
return
"February"
;
...
...
dlls/dmime/graph.c
View file @
ff536fbe
...
...
@@ -63,7 +63,7 @@ ULONG WINAPI IDirectMusicGraphImpl_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicGraphImpl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicGraphImpl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -94,18 +94,18 @@ ULONG WINAPI IDirectMusicGraphImpl_IDirectMusicGraph_AddRef (LPDIRECTMUSICGRAPH
return
IDirectMusicGraphImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_Release
(
LPDIRECTMUSICGRAPH
iface
)
{
static
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_Release
(
LPDIRECTMUSICGRAPH
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
GraphVtbl
,
iface
);
return
IDirectMusicGraphImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_StampPMsg
(
LPDIRECTMUSICGRAPH
iface
,
DMUS_PMSG
*
pPMSG
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_StampPMsg
(
LPDIRECTMUSICGRAPH
iface
,
DMUS_PMSG
*
pPMSG
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
GraphVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pPMSG
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_InsertTool
(
LPDIRECTMUSICGRAPH
iface
,
IDirectMusicTool
*
pTool
,
DWORD
*
pdwPChannels
,
DWORD
cPChannels
,
LONG
lIndex
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_InsertTool
(
LPDIRECTMUSICGRAPH
iface
,
IDirectMusicTool
*
pTool
,
DWORD
*
pdwPChannels
,
DWORD
cPChannels
,
LONG
lIndex
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
GraphVtbl
,
iface
);
HRESULT
hr
;
...
...
@@ -153,7 +153,7 @@ HRESULT WINAPI IDirectMusicGraphImpl_IDirectMusicGraph_InsertTool (LPDIRECTMUSIC
return
DS_OK
;
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_GetTool
(
LPDIRECTMUSICGRAPH
iface
,
DWORD
dwIndex
,
IDirectMusicTool
**
ppTool
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_GetTool
(
LPDIRECTMUSICGRAPH
iface
,
DWORD
dwIndex
,
IDirectMusicTool
**
ppTool
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
GraphVtbl
,
iface
);
struct
list
*
pEntry
=
NULL
;
LPDMUS_PRIVATE_GRAPH_TOOL
pIt
=
NULL
;
...
...
@@ -177,7 +177,7 @@ HRESULT WINAPI IDirectMusicGraphImpl_IDirectMusicGraph_GetTool (LPDIRECTMUSICGRA
return
DMUS_E_NOT_FOUND
;
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_RemoveTool
(
LPDIRECTMUSICGRAPH
iface
,
IDirectMusicTool
*
pTool
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_RemoveTool
(
LPDIRECTMUSICGRAPH
iface
,
IDirectMusicTool
*
pTool
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
GraphVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pTool
);
return
S_OK
;
...
...
@@ -205,12 +205,12 @@ ULONG WINAPI IDirectMusicGraphImpl_IDirectMusicObject_AddRef (LPDIRECTMUSICOBJEC
return
IDirectMusicGraphImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
ObjectVtbl
,
iface
);
return
IDirectMusicGraphImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pDesc
);
/* I think we shouldn't return pointer here since then values can be changed; it'd be a mess */
...
...
@@ -218,7 +218,7 @@ HRESULT WINAPI IDirectMusicGraphImpl_IDirectMusicObject_GetDescriptor (LPDIRECTM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p): setting descriptor:
\n
%s
\n
"
,
This
,
pDesc
,
debugstr_DMUS_OBJECTDESC
(
pDesc
));
...
...
@@ -252,7 +252,7 @@ HRESULT WINAPI IDirectMusicGraphImpl_IDirectMusicObject_SetDescriptor (LPDIRECTM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
ObjectVtbl
,
iface
);
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
StreamSize
,
StreamCount
,
ListSize
[
1
],
ListCount
[
1
];
...
...
@@ -420,20 +420,20 @@ ULONG WINAPI IDirectMusicGraphImpl_IPersistStream_AddRef (LPPERSISTSTREAM iface)
return
IDirectMusicGraphImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicGraphImpl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicGraphImpl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicGraphImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
PersistStreamVtbl
,
iface
);
FOURCC
chunkID
;
DWORD
chunkSize
,
StreamSize
,
StreamCount
,
ListSize
[
3
],
ListCount
[
3
];
...
...
@@ -579,11 +579,11 @@ HRESULT WINAPI IDirectMusicGraphImpl_IPersistStream_Load (LPPERSISTSTREAM iface,
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmime/lyricstrack.c
View file @
ff536fbe
...
...
@@ -60,7 +60,7 @@ ULONG WINAPI IDirectMusicLyricsTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicLyricsTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicLyricsTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -91,52 +91,52 @@ ULONG WINAPI IDirectMusicLyricsTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRAC
return
IDirectMusicLyricsTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicLyricsTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pStateData
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_dmguid
(
rguidType
));
...
...
@@ -145,49 +145,49 @@ HRESULT WINAPI IDirectMusicLyricsTrack_IDirectMusicTrack_IsParamSupported (LPDIR
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -225,29 +225,29 @@ ULONG WINAPI IDirectMusicLyricsTrack_IPersistStream_AddRef (LPPERSISTSTREAM ifac
return
IDirectMusicLyricsTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicLyricsTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicLyricsTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicLyricsTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmime/markertrack.c
View file @
ff536fbe
...
...
@@ -60,7 +60,7 @@ ULONG WINAPI IDirectMusicMarkerTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicMarkerTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicMarkerTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -91,48 +91,48 @@ ULONG WINAPI IDirectMusicMarkerTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRAC
return
IDirectMusicMarkerTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicMarkerTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pStateData
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_dmguid
(
rguidType
));
...
...
@@ -145,49 +145,49 @@ HRESULT WINAPI IDirectMusicMarkerTrack_IDirectMusicTrack_IsParamSupported (LPDIR
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -225,29 +225,29 @@ ULONG WINAPI IDirectMusicMarkerTrack_IPersistStream_AddRef (LPPERSISTSTREAM ifac
return
IDirectMusicMarkerTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicMarkerTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicMarkerTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicMarkerTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmime/paramcontroltrack.c
View file @
ff536fbe
...
...
@@ -60,7 +60,7 @@ ULONG WINAPI IDirectMusicParamControlTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicParamControlTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicParamControlTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -91,52 +91,52 @@ ULONG WINAPI IDirectMusicParamControlTrack_IDirectMusicTrack_AddRef (LPDIRECTMUS
return
IDirectMusicParamControlTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicParamControlTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pStateData
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_dmguid
(
rguidType
));
...
...
@@ -145,49 +145,49 @@ HRESULT WINAPI IDirectMusicParamControlTrack_IDirectMusicTrack_IsParamSupported
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -225,29 +225,29 @@ ULONG WINAPI IDirectMusicParamControlTrack_IPersistStream_AddRef (LPPERSISTSTREA
return
IDirectMusicParamControlTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicParamControlTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicParamControlTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicParamControlTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmime/patterntrack.c
View file @
ff536fbe
...
...
@@ -48,7 +48,7 @@ ULONG WINAPI IDirectMusicPatternTrackImpl_AddRef (LPDIRECTMUSICPATTERNTRACK ifac
return
ref
;
}
ULONG
WINAPI
IDirectMusicPatternTrackImpl_Release
(
LPDIRECTMUSICPATTERNTRACK
iface
)
{
static
ULONG
WINAPI
IDirectMusicPatternTrackImpl_Release
(
LPDIRECTMUSICPATTERNTRACK
iface
)
{
IDirectMusicPatternTrackImpl
*
This
=
(
IDirectMusicPatternTrackImpl
*
)
iface
;
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -63,19 +63,19 @@ ULONG WINAPI IDirectMusicPatternTrackImpl_Release (LPDIRECTMUSICPATTERNTRACK ifa
}
/* IDirectMusicPatternTrack Interface follow: */
HRESULT
WINAPI
IDirectMusicPatternTrackImpl_CreateSegment
(
LPDIRECTMUSICPATTERNTRACK
iface
,
IDirectMusicStyle
*
pStyle
,
IDirectMusicSegment
**
ppSegment
)
{
static
HRESULT
WINAPI
IDirectMusicPatternTrackImpl_CreateSegment
(
LPDIRECTMUSICPATTERNTRACK
iface
,
IDirectMusicStyle
*
pStyle
,
IDirectMusicSegment
**
ppSegment
)
{
IDirectMusicPatternTrackImpl
*
This
=
(
IDirectMusicPatternTrackImpl
*
)
iface
;
FIXME
(
"(%p, %p, %p): stub
\n
"
,
This
,
pStyle
,
ppSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPatternTrackImpl_SetVariation
(
LPDIRECTMUSICPATTERNTRACK
iface
,
IDirectMusicSegmentState
*
pSegState
,
DWORD
dwVariationFlags
,
DWORD
dwPart
)
{
static
HRESULT
WINAPI
IDirectMusicPatternTrackImpl_SetVariation
(
LPDIRECTMUSICPATTERNTRACK
iface
,
IDirectMusicSegmentState
*
pSegState
,
DWORD
dwVariationFlags
,
DWORD
dwPart
)
{
IDirectMusicPatternTrackImpl
*
This
=
(
IDirectMusicPatternTrackImpl
*
)
iface
;
FIXME
(
"(%p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegState
,
dwVariationFlags
,
dwPart
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPatternTrackImpl_SetPatternByName
(
LPDIRECTMUSICPATTERNTRACK
iface
,
IDirectMusicSegmentState
*
pSegState
,
WCHAR
*
wszName
,
IDirectMusicStyle
*
pStyle
,
DWORD
dwPatternType
,
DWORD
*
pdwLength
)
{
static
HRESULT
WINAPI
IDirectMusicPatternTrackImpl_SetPatternByName
(
LPDIRECTMUSICPATTERNTRACK
iface
,
IDirectMusicSegmentState
*
pSegState
,
WCHAR
*
wszName
,
IDirectMusicStyle
*
pStyle
,
DWORD
dwPatternType
,
DWORD
*
pdwLength
)
{
IDirectMusicPatternTrackImpl
*
This
=
(
IDirectMusicPatternTrackImpl
*
)
iface
;
FIXME
(
"(%p, %p, %p, %p, %ld, %p): stub
\n
"
,
This
,
pSegState
,
wszName
,
pStyle
,
dwPatternType
,
pdwLength
);
return
S_OK
;
...
...
dlls/dmime/performance.c
View file @
ff536fbe
...
...
@@ -191,7 +191,7 @@ ULONG WINAPI IDirectMusicPerformance8Impl_AddRef (LPDIRECTMUSICPERFORMANCE8 ifac
return
ref
;
}
ULONG
WINAPI
IDirectMusicPerformance8Impl_Release
(
LPDIRECTMUSICPERFORMANCE8
iface
)
{
static
ULONG
WINAPI
IDirectMusicPerformance8Impl_Release
(
LPDIRECTMUSICPERFORMANCE8
iface
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -207,7 +207,7 @@ ULONG WINAPI IDirectMusicPerformance8Impl_Release (LPDIRECTMUSICPERFORMANCE8 ifa
}
/* IDirectMusicPerformanceImpl IDirectMusicPerformance Interface part: */
HRESULT
WINAPI
IDirectMusicPerformance8Impl_Init
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusic
**
ppDirectMusic
,
LPDIRECTSOUND
pDirectSound
,
HWND
hWnd
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_Init
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusic
**
ppDirectMusic
,
LPDIRECTSOUND
pDirectSound
,
HWND
hWnd
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(iface = %p, dmusic = %p, dsound = %p, hwnd = %p)
\n
"
,
This
,
ppDirectMusic
,
pDirectSound
,
hWnd
);
...
...
@@ -254,32 +254,32 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_Init (LPDIRECTMUSICPERFORMANCE8 ifac
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_PlaySegment
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicSegment
*
pSegment
,
DWORD
dwFlags
,
__int64
i64StartTime
,
IDirectMusicSegmentState
**
ppSegmentState
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_PlaySegment
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicSegment
*
pSegment
,
DWORD
dwFlags
,
__int64
i64StartTime
,
IDirectMusicSegmentState
**
ppSegmentState
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %ld, %lli, %p): stub
\n
"
,
This
,
pSegment
,
dwFlags
,
i64StartTime
,
ppSegmentState
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_Stop
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicSegment
*
pSegment
,
IDirectMusicSegmentState
*
pSegmentState
,
MUSIC_TIME
mtTime
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_Stop
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicSegment
*
pSegment
,
IDirectMusicSegmentState
*
pSegmentState
,
MUSIC_TIME
mtTime
,
DWORD
dwFlags
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegment
,
pSegmentState
,
mtTime
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetSegmentState
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicSegmentState
**
ppSegmentState
,
MUSIC_TIME
mtTime
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetSegmentState
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicSegmentState
**
ppSegmentState
,
MUSIC_TIME
mtTime
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p,%p, %ld): stub
\n
"
,
This
,
ppSegmentState
,
mtTime
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetPrepareTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwMilliSeconds
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetPrepareTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwMilliSeconds
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
TRACE
(
"(%p, %ld)
\n
"
,
This
,
dwMilliSeconds
);
This
->
dwPrepareTime
=
dwMilliSeconds
;
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetPrepareTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
*
pdwMilliSeconds
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetPrepareTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
*
pdwMilliSeconds
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
TRACE
(
"(%p, %p)
\n
"
,
This
,
pdwMilliSeconds
);
if
(
NULL
==
pdwMilliSeconds
)
{
...
...
@@ -289,14 +289,14 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_GetPrepareTime (LPDIRECTMUSICPERFORM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetBumperLength
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwMilliSeconds
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetBumperLength
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwMilliSeconds
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
TRACE
(
"(%p, %ld)
\n
"
,
This
,
dwMilliSeconds
);
This
->
dwBumperLength
=
dwMilliSeconds
;
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetBumperLength
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
*
pdwMilliSeconds
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetBumperLength
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
*
pdwMilliSeconds
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
TRACE
(
"(%p, %p)
\n
"
,
This
,
pdwMilliSeconds
);
if
(
NULL
==
pdwMilliSeconds
)
{
...
...
@@ -306,7 +306,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_GetBumperLength (LPDIRECTMUSICPERFOR
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SendPMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DMUS_PMSG
*
pPMSG
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SendPMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DMUS_PMSG
*
pPMSG
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
DMUS_PMSGItem
*
pItem
=
NULL
;
DMUS_PMSGItem
*
it
=
NULL
;
...
...
@@ -359,19 +359,19 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_SendPMsg (LPDIRECTMUSICPERFORMANCE8
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_MusicToReferenceTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
MUSIC_TIME
mtTime
,
REFERENCE_TIME
*
prtTime
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_MusicToReferenceTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
MUSIC_TIME
mtTime
,
REFERENCE_TIME
*
prtTime
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %ld, %p): stub
\n
"
,
This
,
mtTime
,
prtTime
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_ReferenceToMusicTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
rtTime
,
MUSIC_TIME
*
pmtTime
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_ReferenceToMusicTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
rtTime
,
MUSIC_TIME
*
pmtTime
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %lli, %p): stub
\n
"
,
This
,
rtTime
,
pmtTime
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_IsPlaying
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicSegment
*
pSegment
,
IDirectMusicSegmentState
*
pSegState
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_IsPlaying
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicSegment
*
pSegment
,
IDirectMusicSegmentState
*
pSegState
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %p): stub
\n
"
,
This
,
pSegment
,
pSegState
);
return
S_FALSE
;
...
...
@@ -397,7 +397,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_GetTime (LPDIRECTMUSICPERFORMANCE8 i
return
hr
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AllocPMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
ULONG
cb
,
DMUS_PMSG
**
ppPMSG
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AllocPMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
ULONG
cb
,
DMUS_PMSG
**
ppPMSG
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
DMUS_PMSGItem
*
pItem
=
NULL
;
...
...
@@ -418,7 +418,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_AllocPMsg (LPDIRECTMUSICPERFORMANCE8
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_FreePMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DMUS_PMSG
*
pPMSG
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_FreePMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DMUS_PMSG
*
pPMSG
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
DMUS_PMSGItem
*
pItem
=
NULL
;
...
...
@@ -473,7 +473,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_SetGraph (LPDIRECTMUSICPERFORMANCE8
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetNotificationHandle
(
LPDIRECTMUSICPERFORMANCE8
iface
,
HANDLE
hNotification
,
REFERENCE_TIME
rtMinimum
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetNotificationHandle
(
LPDIRECTMUSICPERFORMANCE8
iface
,
HANDLE
hNotification
,
REFERENCE_TIME
rtMinimum
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %lli): stub
\n
"
,
This
,
hNotification
,
rtMinimum
);
This
->
hNotification
=
hNotification
;
...
...
@@ -481,7 +481,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_SetNotificationHandle (LPDIRECTMUSIC
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetNotificationPMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DMUS_NOTIFICATION_PMSG
**
ppNotificationPMsg
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetNotificationPMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DMUS_NOTIFICATION_PMSG
**
ppNotificationPMsg
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
...
...
@@ -496,33 +496,33 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_GetNotificationPMsg (LPDIRECTMUSICPE
/*return S_OK;*/
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AddNotificationType
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AddNotificationType
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidNotificationType
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_RemoveNotificationType
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_RemoveNotificationType
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidNotificationType
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AddPort
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicPort
*
pPort
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AddPort
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicPort
*
pPort
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pPort
);
IDirectMusicPort_AddRef
(
pPort
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_RemovePort
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicPort
*
pPort
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_RemovePort
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicPort
*
pPort
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pPort
);
IDirectMusicPort_Release
(
pPort
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AssignPChannelBlock
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwBlockNum
,
IDirectMusicPort
*
pPort
,
DWORD
dwGroup
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AssignPChannelBlock
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwBlockNum
,
IDirectMusicPort
*
pPort
,
DWORD
dwGroup
)
{
int
i
,
j
,
range
/* min value in range */
;
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
...
...
@@ -541,7 +541,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_AssignPChannelBlock (LPDIRECTMUSICPE
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AssignPChannel
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwPChannel
,
IDirectMusicPort
*
pPort
,
DWORD
dwGroup
,
DWORD
dwMChannel
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AssignPChannel
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwPChannel
,
IDirectMusicPort
*
pPort
,
DWORD
dwGroup
,
DWORD
dwMChannel
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
TRACE
(
"(%p, %ld, %p, %ld, %ld)
\n
"
,
This
,
dwPChannel
,
pPort
,
dwGroup
,
dwMChannel
);
...
...
@@ -552,37 +552,37 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_AssignPChannel (LPDIRECTMUSICPERFORM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_PChannelInfo
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwPChannel
,
IDirectMusicPort
**
ppPort
,
DWORD
*
pdwGroup
,
DWORD
*
pdwMChannel
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_PChannelInfo
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwPChannel
,
IDirectMusicPort
**
ppPort
,
DWORD
*
pdwGroup
,
DWORD
*
pdwMChannel
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %ld, %p, %p, %p): stub
\n
"
,
This
,
dwPChannel
,
ppPort
,
pdwGroup
,
pdwMChannel
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_DownloadInstrument
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicInstrument
*
pInst
,
DWORD
dwPChannel
,
IDirectMusicDownloadedInstrument
**
ppDownInst
,
DMUS_NOTERANGE
*
pNoteRanges
,
DWORD
dwNumNoteRanges
,
IDirectMusicPort
**
ppPort
,
DWORD
*
pdwGroup
,
DWORD
*
pdwMChannel
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_DownloadInstrument
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicInstrument
*
pInst
,
DWORD
dwPChannel
,
IDirectMusicDownloadedInstrument
**
ppDownInst
,
DMUS_NOTERANGE
*
pNoteRanges
,
DWORD
dwNumNoteRanges
,
IDirectMusicPort
**
ppPort
,
DWORD
*
pdwGroup
,
DWORD
*
pdwMChannel
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %ld, %p, %p, %ld, %p, %p, %p): stub
\n
"
,
This
,
pInst
,
dwPChannel
,
ppDownInst
,
pNoteRanges
,
dwNumNoteRanges
,
ppPort
,
pdwGroup
,
pdwMChannel
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_Invalidate
(
LPDIRECTMUSICPERFORMANCE8
iface
,
MUSIC_TIME
mtTime
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_Invalidate
(
LPDIRECTMUSICPERFORMANCE8
iface
,
MUSIC_TIME
mtTime
,
DWORD
dwFlags
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %ld, %ld): stub
\n
"
,
This
,
mtTime
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetParam
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetParam
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %s, %ld, %ld, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
dwGroupBits
,
dwIndex
,
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetParam
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetParam
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %s, %ld, %ld, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
dwGroupBits
,
dwIndex
,
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetGlobalParam
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
void
*
pParam
,
DWORD
dwSize
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetGlobalParam
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
void
*
pParam
,
DWORD
dwSize
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
TRACE
(
"(%p, %s, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
pParam
,
dwSize
);
...
...
@@ -599,7 +599,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_GetGlobalParam (LPDIRECTMUSICPERFORM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetGlobalParam
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
void
*
pParam
,
DWORD
dwSize
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetGlobalParam
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
void
*
pParam
,
DWORD
dwSize
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
TRACE
(
"(%p, %s, %p, %ld)
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
pParam
,
dwSize
);
...
...
@@ -624,26 +624,26 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_SetGlobalParam (LPDIRECTMUSICPERFORM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetLatencyTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
*
prtTime
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetLatencyTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
*
prtTime
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
TRACE
(
"(%p, %p): stub
\n
"
,
This
,
prtTime
);
*
prtTime
=
This
->
rtLatencyTime
;
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetQueueTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
*
prtTime
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetQueueTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
*
prtTime
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
prtTime
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AdjustTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
rtAmount
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AdjustTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
rtAmount
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %lli): stub
\n
"
,
This
,
rtAmount
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_CloseDown
(
LPDIRECTMUSICPERFORMANCE8
iface
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_CloseDown
(
LPDIRECTMUSICPERFORMANCE8
iface
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p): stub
\n
"
,
This
);
if
(
PostMessageToProcessMsgThread
(
This
,
PROCESSMSG_EXIT
))
{
...
...
@@ -662,38 +662,38 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_CloseDown (LPDIRECTMUSICPERFORMANCE8
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetResolvedTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtResolved
,
DWORD
dwTimeResolveFlags
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetResolvedTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtResolved
,
DWORD
dwTimeResolveFlags
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %lli, %p, %ld): stub
\n
"
,
This
,
rtTime
,
prtResolved
,
dwTimeResolveFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_MIDIToMusic
(
LPDIRECTMUSICPERFORMANCE8
iface
,
BYTE
bMIDIValue
,
DMUS_CHORD_KEY
*
pChord
,
BYTE
bPlayMode
,
BYTE
bChordLevel
,
WORD
*
pwMusicValue
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_MIDIToMusic
(
LPDIRECTMUSICPERFORMANCE8
iface
,
BYTE
bMIDIValue
,
DMUS_CHORD_KEY
*
pChord
,
BYTE
bPlayMode
,
BYTE
bChordLevel
,
WORD
*
pwMusicValue
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %d, %p, %d, %d, %p): stub
\n
"
,
This
,
bMIDIValue
,
pChord
,
bPlayMode
,
bChordLevel
,
pwMusicValue
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_MusicToMIDI
(
LPDIRECTMUSICPERFORMANCE8
iface
,
WORD
wMusicValue
,
DMUS_CHORD_KEY
*
pChord
,
BYTE
bPlayMode
,
BYTE
bChordLevel
,
BYTE
*
pbMIDIValue
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_MusicToMIDI
(
LPDIRECTMUSICPERFORMANCE8
iface
,
WORD
wMusicValue
,
DMUS_CHORD_KEY
*
pChord
,
BYTE
bPlayMode
,
BYTE
bChordLevel
,
BYTE
*
pbMIDIValue
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %d, %p, %d, %d, %p): stub
\n
"
,
This
,
wMusicValue
,
pChord
,
bPlayMode
,
bChordLevel
,
pbMIDIValue
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_TimeToRhythm
(
LPDIRECTMUSICPERFORMANCE8
iface
,
MUSIC_TIME
mtTime
,
DMUS_TIMESIGNATURE
*
pTimeSig
,
WORD
*
pwMeasure
,
BYTE
*
pbBeat
,
BYTE
*
pbGrid
,
short
*
pnOffset
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_TimeToRhythm
(
LPDIRECTMUSICPERFORMANCE8
iface
,
MUSIC_TIME
mtTime
,
DMUS_TIMESIGNATURE
*
pTimeSig
,
WORD
*
pwMeasure
,
BYTE
*
pbBeat
,
BYTE
*
pbGrid
,
short
*
pnOffset
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %ld, %p, %p, %p, %p, %p): stub
\n
"
,
This
,
mtTime
,
pTimeSig
,
pwMeasure
,
pbBeat
,
pbGrid
,
pnOffset
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_RhythmToTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
WORD
wMeasure
,
BYTE
bBeat
,
BYTE
bGrid
,
short
nOffset
,
DMUS_TIMESIGNATURE
*
pTimeSig
,
MUSIC_TIME
*
pmtTime
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_RhythmToTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
WORD
wMeasure
,
BYTE
bBeat
,
BYTE
bGrid
,
short
nOffset
,
DMUS_TIMESIGNATURE
*
pTimeSig
,
MUSIC_TIME
*
pmtTime
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %d, %d, %d, %i, %p, %p): stub
\n
"
,
This
,
wMeasure
,
bBeat
,
bGrid
,
nOffset
,
pTimeSig
,
pmtTime
);
return
S_OK
;
}
/* IDirectMusicPerformance8 Interface part follow: */
HRESULT
WINAPI
IDirectMusicPerformance8Impl_InitAudio
(
LPDIRECTMUSICPERFORMANCE8
iface
,
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_InitAudio
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusic
**
ppDirectMusic
,
IDirectSound
**
ppDirectSound
,
HWND
hWnd
,
...
...
@@ -753,25 +753,25 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_InitAudio (LPDIRECTMUSICPERFORMANCE8
return
hr
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_PlaySegmentEx
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IUnknown
*
pSource
,
WCHAR
*
pwzSegmentName
,
IUnknown
*
pTransition
,
DWORD
dwFlags
,
__int64
i64StartTime
,
IDirectMusicSegmentState
**
ppSegmentState
,
IUnknown
*
pFrom
,
IUnknown
*
pAudioPath
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_PlaySegmentEx
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IUnknown
*
pSource
,
WCHAR
*
pwzSegmentName
,
IUnknown
*
pTransition
,
DWORD
dwFlags
,
__int64
i64StartTime
,
IDirectMusicSegmentState
**
ppSegmentState
,
IUnknown
*
pFrom
,
IUnknown
*
pAudioPath
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %p, %p, %ld, %lli, %p, %p, %p): stub
\n
"
,
This
,
pSource
,
pwzSegmentName
,
pTransition
,
dwFlags
,
i64StartTime
,
ppSegmentState
,
pFrom
,
pAudioPath
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_StopEx
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IUnknown
*
pObjectToStop
,
__int64
i64StopTime
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_StopEx
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IUnknown
*
pObjectToStop
,
__int64
i64StopTime
,
DWORD
dwFlags
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %lli, %ld): stub
\n
"
,
This
,
pObjectToStop
,
i64StopTime
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_ClonePMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DMUS_PMSG
*
pSourcePMSG
,
DMUS_PMSG
**
ppCopyPMSG
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_ClonePMsg
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DMUS_PMSG
*
pSourcePMSG
,
DMUS_PMSG
**
ppCopyPMSG
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %p): stub
\n
"
,
This
,
pSourcePMSG
,
ppCopyPMSG
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_CreateAudioPath
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IUnknown
*
pSourceConfig
,
BOOL
fActivate
,
IDirectMusicAudioPath
**
ppNewPath
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_CreateAudioPath
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IUnknown
*
pSourceConfig
,
BOOL
fActivate
,
IDirectMusicAudioPath
**
ppNewPath
)
{
IDirectMusicAudioPathImpl
*
default_path
;
IDirectMusicAudioPath
*
pPath
;
...
...
@@ -887,7 +887,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_CreateStandardAudioPath (LPDIRECTMUS
return
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Activate
(
*
ppNewPath
,
fActivate
);
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetDefaultAudioPath
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicAudioPath
*
pAudioPath
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetDefaultAudioPath
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicAudioPath
*
pAudioPath
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p): semi-stub
\n
"
,
This
,
pAudioPath
);
...
...
@@ -905,7 +905,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_SetDefaultAudioPath (LPDIRECTMUSICPE
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetDefaultAudioPath
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicAudioPath
**
ppAudioPath
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetDefaultAudioPath
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicAudioPath
**
ppAudioPath
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p): semi-stub (%p)
\n
"
,
This
,
ppAudioPath
,
This
->
pDefaultPath
);
...
...
@@ -919,7 +919,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_GetDefaultAudioPath (LPDIRECTMUSICPE
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetParamEx
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
DWORD
dwTrackID
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetParamEx
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFGUID
rguidType
,
DWORD
dwTrackID
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %s, %ld, %ld, %ld, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
dwTrackID
,
dwGroupBits
,
dwIndex
,
mtTime
,
pmtNext
,
pParam
);
...
...
dlls/dmime/segment.c
View file @
ff536fbe
...
...
@@ -66,7 +66,7 @@ ULONG WINAPI IDirectMusicSegment8Impl_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicSegment8Impl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -97,12 +97,12 @@ ULONG WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_AddRef (LPDIRECTMUSIC
return
IDirectMusicSegment8Impl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Release
(
LPDIRECTMUSICSEGMENT8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Release
(
LPDIRECTMUSICSEGMENT8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
return
IDirectMusicSegment8Impl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetLength
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
*
pmtLength
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetLength
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
*
pmtLength
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pmtLength
);
if
(
NULL
==
pmtLength
)
{
...
...
@@ -112,14 +112,14 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetLength (LPDIRECT
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetLength
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtLength
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetLength
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtLength
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %ld)
\n
"
,
This
,
mtLength
);
This
->
header
.
mtLength
=
mtLength
;
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetRepeats
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
*
pdwRepeats
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetRepeats
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
*
pdwRepeats
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pdwRepeats
);
if
(
NULL
==
pdwRepeats
)
{
...
...
@@ -129,14 +129,14 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetRepeats (LPDIREC
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetRepeats
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
dwRepeats
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetRepeats
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
dwRepeats
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %ld)
\n
"
,
This
,
dwRepeats
);
This
->
header
.
dwRepeats
=
dwRepeats
;
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetDefaultResolution
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
*
pdwResolution
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetDefaultResolution
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
*
pdwResolution
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pdwResolution
);
if
(
NULL
==
pdwResolution
)
{
...
...
@@ -146,14 +146,14 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetDefaultResolutio
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetDefaultResolution
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
dwResolution
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetDefaultResolution
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
dwResolution
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %ld)
\n
"
,
This
,
dwResolution
);
This
->
header
.
dwResolution
=
dwResolution
;
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetTrack
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetTrack
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
CLSID
pIt_clsid
;
...
...
@@ -201,7 +201,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetTrack (LPDIRECTM
return
DMUS_E_NOT_FOUND
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetTrackGroup
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicTrack
*
pTrack
,
DWORD
*
pdwGroupBits
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetTrackGroup
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicTrack
*
pTrack
,
DWORD
*
pdwGroupBits
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
struct
list
*
pEntry
=
NULL
;
...
...
@@ -225,7 +225,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetTrackGroup (LPDI
return
DMUS_E_NOT_FOUND
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_InsertTrack
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicTrack
*
pTrack
,
DWORD
dwGroupBits
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_InsertTrack
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicTrack
*
pTrack
,
DWORD
dwGroupBits
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
DWORD
i
=
0
;
...
...
@@ -259,7 +259,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_InsertTrack (LPDIRE
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_RemoveTrack
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicTrack
*
pTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_RemoveTrack
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicTrack
*
pTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
struct
list
*
pEntry
=
NULL
;
...
...
@@ -284,7 +284,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_RemoveTrack (LPDIRE
return
S_FALSE
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_InitPlay
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicSegmentState
**
ppSegState
,
IDirectMusicPerformance
*
pPerformance
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_InitPlay
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicSegmentState
**
ppSegState
,
IDirectMusicPerformance
*
pPerformance
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
HRESULT
hr
;
FIXME
(
"(%p, %p, %p, %ld): semi-stub
\n
"
,
This
,
ppSegState
,
pPerformance
,
dwFlags
);
...
...
@@ -299,7 +299,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_InitPlay (LPDIRECTM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetGraph
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicGraph
**
ppGraph
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetGraph
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicGraph
**
ppGraph
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %p): semi-stub
\n
"
,
This
,
ppGraph
);
if
(
NULL
==
ppGraph
)
{
...
...
@@ -318,7 +318,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetGraph (LPDIRECTM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetGraph
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicGraph
*
pGraph
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetGraph
(
LPDIRECTMUSICSEGMENT8
iface
,
IDirectMusicGraph
*
pGraph
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %p): to complete
\n
"
,
This
,
pGraph
);
if
(
NULL
!=
This
->
pGraph
)
{
...
...
@@ -331,19 +331,19 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_SetGraph (LPDIRECTM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_AddNotificationType
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_AddNotificationType
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_RemoveNotificationType
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_RemoveNotificationType
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetParam
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetParam
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
CLSID
pIt_clsid
;
...
...
@@ -390,19 +390,19 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetParam (LPDIRECTM
return
hr
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetParam
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetParam
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidType
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %ld, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
dwGroupBits
,
dwIndex
,
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Clone
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicSegment
**
ppSegment
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Clone
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicSegment
**
ppSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetStartPoint
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtStart
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetStartPoint
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtStart
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %ld)
\n
"
,
This
,
mtStart
);
if
(
mtStart
>=
This
->
header
.
mtLength
)
{
...
...
@@ -412,7 +412,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_SetStartPoint (LPDI
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetStartPoint
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
*
pmtStart
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetStartPoint
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
*
pmtStart
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pmtStart
);
if
(
NULL
==
pmtStart
)
{
...
...
@@ -422,7 +422,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetStartPoint (LPDI
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetLoopPoints
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetLoopPoints
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %ld, %ld)
\n
"
,
This
,
mtStart
,
mtEnd
);
if
(
mtStart
>=
This
->
header
.
mtLength
||
mtEnd
>
This
->
header
.
mtLength
||
mtStart
>
mtEnd
)
{
...
...
@@ -433,7 +433,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_SetLoopPoints (LPDI
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetLoopPoints
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
*
pmtStart
,
MUSIC_TIME
*
pmtEnd
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetLoopPoints
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
*
pmtStart
,
MUSIC_TIME
*
pmtEnd
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
TRACE
(
"(%p, %p, %p)
\n
"
,
This
,
pmtStart
,
pmtEnd
);
if
(
NULL
==
pmtStart
||
NULL
==
pmtEnd
)
{
...
...
@@ -444,37 +444,37 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetLoopPoints (LPDI
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetPChannelsUsed
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
dwNumPChannels
,
DWORD
*
paPChannels
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetPChannelsUsed
(
LPDIRECTMUSICSEGMENT8
iface
,
DWORD
dwNumPChannels
,
DWORD
*
paPChannels
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %ld, %p): stub
\n
"
,
This
,
dwNumPChannels
,
paPChannels
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetTrackConfig
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidTrackClassID
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
DWORD
dwFlagsOn
,
DWORD
dwFlagsOff
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_SetTrackConfig
(
LPDIRECTMUSICSEGMENT8
iface
,
REFGUID
rguidTrackClassID
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
DWORD
dwFlagsOn
,
DWORD
dwFlagsOff
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %ld, %ld, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidTrackClassID
),
dwGroupBits
,
dwIndex
,
dwFlagsOn
,
dwFlagsOff
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetAudioPathConfig
(
LPDIRECTMUSICSEGMENT8
iface
,
IUnknown
**
ppAudioPathConfig
){
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetAudioPathConfig
(
LPDIRECTMUSICSEGMENT8
iface
,
IUnknown
**
ppAudioPathConfig
){
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
ppAudioPathConfig
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Compose
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtTime
,
IDirectMusicSegment
*
pFromSegment
,
IDirectMusicSegment
*
pToSegment
,
IDirectMusicSegment
**
ppComposedSegment
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Compose
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
mtTime
,
IDirectMusicSegment
*
pFromSegment
,
IDirectMusicSegment
*
pToSegment
,
IDirectMusicSegment
**
ppComposedSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %ld, %p, %p, %p): stub
\n
"
,
This
,
mtTime
,
pFromSegment
,
pToSegment
,
ppComposedSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Download
(
LPDIRECTMUSICSEGMENT8
iface
,
IUnknown
*
pAudioPath
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Download
(
LPDIRECTMUSICSEGMENT8
iface
,
IUnknown
*
pAudioPath
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pAudioPath
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Unload
(
LPDIRECTMUSICSEGMENT8
iface
,
IUnknown
*
pAudioPath
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Unload
(
LPDIRECTMUSICSEGMENT8
iface
,
IUnknown
*
pAudioPath
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pAudioPath
);
return
S_OK
;
...
...
@@ -525,12 +525,12 @@ ULONG WINAPI IDirectMusicSegment8Impl_IDirectMusicObject_AddRef (LPDIRECTMUSICOB
return
IDirectMusicSegment8Impl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
ObjectVtbl
,
iface
);
return
IDirectMusicSegment8Impl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pDesc
);
/* I think we shouldn't return pointer here since then values can be changed; it'd be a mess */
...
...
@@ -538,7 +538,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicObject_GetDescriptor (LPDIRE
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p): setting descriptor:
\n
%s
\n
"
,
This
,
pDesc
,
debugstr_DMUS_OBJECTDESC
(
pDesc
));
...
...
@@ -572,7 +572,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicObject_SetDescriptor (LPDIRE
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
ObjectVtbl
,
iface
);
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
StreamSize
,
StreamCount
,
ListSize
[
1
],
ListCount
[
1
];
...
...
@@ -763,19 +763,19 @@ ULONG WINAPI IDirectMusicSegment8Impl_IPersistStream_AddRef (LPPERSISTSTREAM ifa
return
IDirectMusicSegment8Impl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicSegment8Impl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicSegment8Impl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pClassID
);
memcpy
(
pClassID
,
&
CLSID_DirectMusicSegment
,
sizeof
(
CLSID
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p): stub, always S_FALSE
\n
"
,
This
);
return
S_FALSE
;
...
...
@@ -1191,7 +1191,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_LoadWave (LPPERSISTSTREAM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
HRESULT
hr
;
...
...
@@ -1263,13 +1263,13 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IPersistStream_Load (LPPERSISTSTREAM ifa
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p): Saving not implemented yet
\n
"
,
This
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pcbSize
);
return
E_NOTIMPL
;
...
...
dlls/dmime/segmentstate.c
View file @
ff536fbe
...
...
@@ -48,7 +48,7 @@ ULONG WINAPI IDirectMusicSegmentState8Impl_AddRef (LPDIRECTMUSICSEGMENTSTATE8 if
return
ref
;
}
ULONG
WINAPI
IDirectMusicSegmentState8Impl_Release
(
LPDIRECTMUSICSEGMENTSTATE8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegmentState8Impl_Release
(
LPDIRECTMUSICSEGMENTSTATE8
iface
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -63,38 +63,38 @@ ULONG WINAPI IDirectMusicSegmentState8Impl_Release (LPDIRECTMUSICSEGMENTSTATE8 i
}
/* IDirectMusicSegmentState8Impl IDirectMusicSegmentState part: */
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetRepeats
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
DWORD
*
pdwRepeats
)
{
static
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetRepeats
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
DWORD
*
pdwRepeats
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pdwRepeats
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetSegment
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
IDirectMusicSegment
**
ppSegment
)
{
static
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetSegment
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
IDirectMusicSegment
**
ppSegment
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
ppSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetStartTime
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
MUSIC_TIME
*
pmtStart
)
{
static
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetStartTime
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
MUSIC_TIME
*
pmtStart
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pmtStart
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetSeek
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
MUSIC_TIME
*
pmtSeek
)
{
static
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetSeek
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
MUSIC_TIME
*
pmtSeek
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pmtSeek
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetStartPoint
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
MUSIC_TIME
*
pmtStart
)
{
static
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetStartPoint
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
MUSIC_TIME
*
pmtStart
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pmtStart
);
return
S_OK
;
}
/* IDirectMusicSegmentState8Impl IDirectMusicSegmentState8 part: */
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_SetTrackConfig
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
REFGUID
rguidTrackClassID
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
DWORD
dwFlagsOn
,
DWORD
dwFlagsOff
)
{
static
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_SetTrackConfig
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
REFGUID
rguidTrackClassID
,
DWORD
dwGroupBits
,
DWORD
dwIndex
,
DWORD
dwFlagsOn
,
DWORD
dwFlagsOff
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
FIXME
(
"(%p, %s, %ld, %ld, %ld, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidTrackClassID
),
dwGroupBits
,
dwIndex
,
dwFlagsOn
,
dwFlagsOff
);
return
S_OK
;
...
...
dlls/dmime/segtriggertrack.c
View file @
ff536fbe
...
...
@@ -61,7 +61,7 @@ ULONG WINAPI IDirectMusicSegTriggerTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -92,52 +92,52 @@ ULONG WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSIC
return
IDirectMusicSegTriggerTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicSegTriggerTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pStateData
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_dmguid
(
rguidType
));
...
...
@@ -146,49 +146,49 @@ HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_IsParamSupported (L
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -226,19 +226,19 @@ ULONG WINAPI IDirectMusicSegTriggerTrack_IPersistStream_AddRef (LPPERSISTSTREAM
return
IDirectMusicSegTriggerTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicSegTriggerTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pClassID
);
memcpy
(
pClassID
,
&
CLSID_DirectMusicSegTriggerTrack
,
sizeof
(
CLSID
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p): stub, always S_FALSE
\n
"
,
This
);
return
S_FALSE
;
...
...
@@ -441,7 +441,7 @@ static HRESULT IDirectMusicSegTriggerTrack_IPersistStream_ParseSegTrackList (LPP
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
PersistStreamVtbl
,
iface
);
DMUS_PRIVATE_CHUNK
Chunk
;
...
...
@@ -486,13 +486,13 @@ HRESULT WINAPI IDirectMusicSegTriggerTrack_IPersistStream_Load (LPPERSISTSTREAM
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p): Saving not implemented yet
\n
"
,
This
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pcbSize
);
return
E_NOTIMPL
;
...
...
dlls/dmime/seqtrack.c
View file @
ff536fbe
...
...
@@ -60,7 +60,7 @@ ULONG WINAPI IDirectMusicSeqTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicSeqTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicSeqTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -91,52 +91,52 @@ ULONG WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8
return
IDirectMusicSeqTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicSeqTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pStateData
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_dmguid
(
rguidType
));
...
...
@@ -145,49 +145,49 @@ HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_IsParamSupported (LPDIRECT
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -225,29 +225,29 @@ ULONG WINAPI IDirectMusicSeqTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface)
return
IDirectMusicSeqTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicSeqTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicSeqTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicSeqTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmime/sysextrack.c
View file @
ff536fbe
...
...
@@ -60,7 +60,7 @@ ULONG WINAPI IDirectMusicSysExTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicSysExTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicSysExTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -91,52 +91,52 @@ ULONG WINAPI IDirectMusicSysExTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK
return
IDirectMusicSysExTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicSysExTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pStateData
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
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, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_guid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_guid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_guid
(
rguidType
));
...
...
@@ -145,49 +145,49 @@ HRESULT WINAPI IDirectMusicSysExTrack_IDirectMusicTrack_IsParamSupported (LPDIRE
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
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
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
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
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
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, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_guid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
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, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_guid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
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, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -225,29 +225,29 @@ ULONG WINAPI IDirectMusicSysExTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface
return
IDirectMusicSysExTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicSysExTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicSysExTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicSysExTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmime/tempotrack.c
View file @
ff536fbe
...
...
@@ -61,7 +61,7 @@ ULONG WINAPI IDirectMusicTempoTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicTempoTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicTempoTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -92,19 +92,19 @@ ULONG WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK
return
IDirectMusicTempoTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicTempoTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %p): nothing to do here
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
...
...
@@ -123,7 +123,7 @@ HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_InitPlay (LPDIRECTMUSICT
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
...
...
@@ -139,7 +139,7 @@ HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_EndPlay (LPDIRECTMUSICTR
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
...
...
@@ -147,7 +147,7 @@ HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_Play (LPDIRECTMUSICTRACK
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
HRESULT
hr
=
S_OK
;
...
...
@@ -196,7 +196,7 @@ HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_GetParam (LPDIRECTMUSICT
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
...
...
@@ -219,49 +219,49 @@ HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_IsParamSupported (LPDIRE
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -299,25 +299,25 @@ ULONG WINAPI IDirectMusicTempoTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface
return
IDirectMusicTempoTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicTempoTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicTempoTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicTempoTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pClassID
);
memcpy
(
pClassID
,
&
CLSID_DirectMusicTempoTrack
,
sizeof
(
CLSID
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p): stub, always S_FALSE
\n
"
,
This
);
return
S_FALSE
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
PersistStreamVtbl
,
iface
);
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
StreamSize
,
StreamCount
;
...
...
@@ -373,13 +373,13 @@ HRESULT WINAPI IDirectMusicTempoTrack_IPersistStream_Load (LPPERSISTSTREAM iface
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p): Saving not implemented yet
\n
"
,
This
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pcbSize
);
return
E_NOTIMPL
;
...
...
dlls/dmime/timesigtrack.c
View file @
ff536fbe
...
...
@@ -60,7 +60,7 @@ ULONG WINAPI IDirectMusicTimeSigTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicTimeSigTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicTimeSigTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -91,52 +91,52 @@ ULONG WINAPI IDirectMusicTimeSigTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRA
return
IDirectMusicTimeSigTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicTimeSigTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pStateData
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_dmguid
(
rguidType
));
...
...
@@ -150,49 +150,49 @@ HRESULT WINAPI IDirectMusicTimeSigTrack_IDirectMusicTrack_IsParamSupported (LPDI
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -230,29 +230,29 @@ ULONG WINAPI IDirectMusicTimeSigTrack_IPersistStream_AddRef (LPPERSISTSTREAM ifa
return
IDirectMusicTimeSigTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicTimeSigTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmime/tool.c
View file @
ff536fbe
...
...
@@ -47,7 +47,7 @@ ULONG WINAPI IDirectMusicTool8Impl_AddRef (LPDIRECTMUSICTOOL8 iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicTool8Impl_Release
(
LPDIRECTMUSICTOOL8
iface
)
{
static
ULONG
WINAPI
IDirectMusicTool8Impl_Release
(
LPDIRECTMUSICTOOL8
iface
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) : ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -62,44 +62,44 @@ ULONG WINAPI IDirectMusicTool8Impl_Release (LPDIRECTMUSICTOOL8 iface) {
}
/* IDirectMusicTool8Impl IDirectMusicTool part: */
HRESULT
WINAPI
IDirectMusicTool8Impl_Init
(
LPDIRECTMUSICTOOL8
iface
,
IDirectMusicGraph
*
pGraph
)
{
static
HRESULT
WINAPI
IDirectMusicTool8Impl_Init
(
LPDIRECTMUSICTOOL8
iface
,
IDirectMusicGraph
*
pGraph
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pGraph
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTool8Impl_GetMsgDeliveryType
(
LPDIRECTMUSICTOOL8
iface
,
DWORD
*
pdwDeliveryType
)
{
static
HRESULT
WINAPI
IDirectMusicTool8Impl_GetMsgDeliveryType
(
LPDIRECTMUSICTOOL8
iface
,
DWORD
*
pdwDeliveryType
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pdwDeliveryType
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTool8Impl_GetMediaTypeArraySize
(
LPDIRECTMUSICTOOL8
iface
,
DWORD
*
pdwNumElements
)
{
static
HRESULT
WINAPI
IDirectMusicTool8Impl_GetMediaTypeArraySize
(
LPDIRECTMUSICTOOL8
iface
,
DWORD
*
pdwNumElements
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pdwNumElements
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTool8Impl_GetMediaTypes
(
LPDIRECTMUSICTOOL8
iface
,
DWORD
**
padwMediaTypes
,
DWORD
dwNumElements
)
{
static
HRESULT
WINAPI
IDirectMusicTool8Impl_GetMediaTypes
(
LPDIRECTMUSICTOOL8
iface
,
DWORD
**
padwMediaTypes
,
DWORD
dwNumElements
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %ld): stub
\n
"
,
This
,
padwMediaTypes
,
dwNumElements
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTool8Impl_ProcessPMsg
(
LPDIRECTMUSICTOOL8
iface
,
IDirectMusicPerformance
*
pPerf
,
DMUS_PMSG
*
pPMSG
)
{
static
HRESULT
WINAPI
IDirectMusicTool8Impl_ProcessPMsg
(
LPDIRECTMUSICTOOL8
iface
,
IDirectMusicPerformance
*
pPerf
,
DMUS_PMSG
*
pPMSG
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %p): stub
\n
"
,
This
,
pPerf
,
pPMSG
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTool8Impl_Flush
(
LPDIRECTMUSICTOOL8
iface
,
IDirectMusicPerformance
*
pPerf
,
DMUS_PMSG
*
pPMSG
,
REFERENCE_TIME
rtTime
)
{
static
HRESULT
WINAPI
IDirectMusicTool8Impl_Flush
(
LPDIRECTMUSICTOOL8
iface
,
IDirectMusicPerformance
*
pPerf
,
DMUS_PMSG
*
pPMSG
,
REFERENCE_TIME
rtTime
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %p, %lli): stub
\n
"
,
This
,
pPerf
,
pPMSG
,
rtTime
);
return
S_OK
;
}
/* IDirectMusicTool8Impl IDirectMusicTool8 part: */
HRESULT
WINAPI
IDirectMusicTool8Impl_Clone
(
LPDIRECTMUSICTOOL8
iface
,
IDirectMusicTool
**
ppTool
)
{
static
HRESULT
WINAPI
IDirectMusicTool8Impl_Clone
(
LPDIRECTMUSICTOOL8
iface
,
IDirectMusicTool
**
ppTool
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
ppTool
);
return
S_OK
;
...
...
dlls/dmime/wavetrack.c
View file @
ff536fbe
...
...
@@ -60,7 +60,7 @@ ULONG WINAPI IDirectMusicWaveTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicWaveTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicWaveTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) : ReleaseRef to %ld
\n
"
,
This
,
ref
);
...
...
@@ -91,52 +91,52 @@ ULONG WINAPI IDirectMusicWaveTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8
return
IDirectMusicWaveTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicWaveTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pStateData
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_dmguid
(
rguidType
));
...
...
@@ -151,49 +151,49 @@ HRESULT WINAPI IDirectMusicWaveTrack_IDirectMusicTrack_IsParamSupported (LPDIREC
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -231,29 +231,29 @@ ULONG WINAPI IDirectMusicWaveTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface)
return
IDirectMusicWaveTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicWaveTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicWaveTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicWaveTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
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