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
06e23dad
Commit
06e23dad
authored
Jun 21, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- use interfaces rather than internal functions
- remove declaration of AddRef and QueryInterface functions from headers
parent
321a3e1a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
223 additions
and
223 deletions
+223
-223
audiopath.c
dlls/dmime/audiopath.c
+25
-25
dmime_private.h
dlls/dmime/dmime_private.h
+0
-0
graph.c
dlls/dmime/graph.c
+19
-19
lyricstrack.c
dlls/dmime/lyricstrack.c
+15
-15
markertrack.c
dlls/dmime/markertrack.c
+15
-15
paramcontroltrack.c
dlls/dmime/paramcontroltrack.c
+15
-15
patterntrack.c
dlls/dmime/patterntrack.c
+3
-3
performance.c
dlls/dmime/performance.c
+11
-11
segment.c
dlls/dmime/segment.c
+21
-21
segmentstate.c
dlls/dmime/segmentstate.c
+4
-4
segtriggertrack.c
dlls/dmime/segtriggertrack.c
+15
-15
seqtrack.c
dlls/dmime/seqtrack.c
+15
-15
sysextrack.c
dlls/dmime/sysextrack.c
+15
-15
tempotrack.c
dlls/dmime/tempotrack.c
+17
-17
timesigtrack.c
dlls/dmime/timesigtrack.c
+15
-15
tool.c
dlls/dmime/tool.c
+3
-3
wavetrack.c
dlls/dmime/wavetrack.c
+15
-15
No files found.
dlls/dmime/audiopath.c
View file @
06e23dad
...
...
@@ -26,25 +26,25 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicAudioPathImpl implementation
*/
/* IDirectMusicAudioPath IUnknown part: */
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
UnknownVtbl
;
I
DirectMusicAudioPathImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicAudioPath
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
AudioPathVtbl
;
I
DirectMusicAudioPathImpl_IDirectMusicAudioPath_AddRef
((
LPDIRECTMUSICAUDIOPATH
)
&
This
->
AudioPathVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicObject
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
ObjectVtbl
;
I
DirectMusicAudioPathImpl_IDirectMusicObject_AddRef
((
LPDIRECTMUSICOBJECT
)
&
This
->
ObjectVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicAudioPathImpl_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -52,7 +52,7 @@ HRESULT WINAPI IDirectMusicAudioPathImpl_IUnknown_QueryInterface (LPUNKNOWN ifac
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicAudioPathImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -87,19 +87,19 @@ static const IUnknownVtbl DirectMusicAudioPath_Unknown_Vtbl = {
};
/* IDirectMusicAudioPathImpl IDirectMusicAudioPath part: */
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_QueryInterface
(
LPDIRECTMUSICAUDIOPATH
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_QueryInterface
(
LPDIRECTMUSICAUDIOPATH
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
AudioPathVtbl
,
iface
);
return
I
DirectMusicAudioPathImpl_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_AddRef
(
LPDIRECTMUSICAUDIOPATH
iface
)
{
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_AddRef
(
LPDIRECTMUSICAUDIOPATH
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
AudioPathVtbl
,
iface
);
return
I
DirectMusicAudioPathImpl_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Release
(
LPDIRECTMUSICAUDIOPATH
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
AudioPathVtbl
,
iface
);
return
I
DirectMusicAudioPathImpl_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_GetObjectInPath
(
LPDIRECTMUSICAUDIOPATH
iface
,
DWORD
dwPChannel
,
DWORD
dwStage
,
DWORD
dwBuffer
,
REFGUID
guidObject
,
WORD
dwIndex
,
REFGUID
iidInterface
,
void
**
ppObject
)
{
...
...
@@ -159,7 +159,7 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_GetObjectI
{
/* TODO check wanted GUID */
*
ppObject
=
(
LPDIRECTMUSICPERFORMANCE8
)
This
->
pPerf
;
I
DirectMusicPerformance8Impl_AddRef
((
LPDIRECTMUSICPERFORMANCE8
)
*
ppObject
);
I
Unknown_AddRef
((
LPUNKNOWN
)
*
ppObject
);
return
S_OK
;
}
break
;
...
...
@@ -167,11 +167,11 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_GetObjectI
case
DMUS_PATH_PERFORMANCE_GRAPH
:
{
IDirectMusicGraph
*
pPerfoGraph
=
NULL
;
IDirectMusicPerformance8
Impl
_GetGraph
((
LPDIRECTMUSICPERFORMANCE8
)
This
->
pPerf
,
&
pPerfoGraph
);
IDirectMusicPerformance8_GetGraph
((
LPDIRECTMUSICPERFORMANCE8
)
This
->
pPerf
,
&
pPerfoGraph
);
if
(
NULL
==
pPerfoGraph
)
{
IDirectMusicGraphImpl
*
pGraph
=
NULL
;
DMUSIC_CreateDirectMusicGraphImpl
(
&
IID_IDirectMusicGraph
,
(
LPVOID
*
)
&
pGraph
,
NULL
);
IDirectMusicPerformance8
Impl
_SetGraph
((
LPDIRECTMUSICPERFORMANCE8
)
This
->
pPerf
,
(
IDirectMusicGraph
*
)
pGraph
);
IDirectMusicPerformance8_SetGraph
((
LPDIRECTMUSICPERFORMANCE8
)
This
->
pPerf
,
(
IDirectMusicGraph
*
)
pGraph
);
/* we need release as SetGraph do an AddRef */
IDirectMusicGraph_Release
((
LPDIRECTMUSICGRAPH
)
pGraph
);
pPerfoGraph
=
(
LPDIRECTMUSICGRAPH
)
pGraph
;
...
...
@@ -190,7 +190,7 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_GetObjectI
return
E_INVALIDARG
;
}
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Activate
(
LPDIRECTMUSICAUDIOPATH
iface
,
BOOL
fActivate
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Activate
(
LPDIRECTMUSICAUDIOPATH
iface
,
BOOL
fActivate
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
AudioPathVtbl
,
iface
);
FIXME
(
"(%p, %d): stub
\n
"
,
This
,
fActivate
);
if
(
!
fActivate
)
{
...
...
@@ -229,19 +229,19 @@ static const IDirectMusicAudioPathVtbl DirectMusicAudioPath_AudioPath_Vtbl = {
};
/* IDirectMusicAudioPathImpl IDirectMusicObject part: */
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
ObjectVtbl
,
iface
);
return
I
DirectMusicAudioPathImpl_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
ObjectVtbl
,
iface
);
return
I
DirectMusicAudioPathImpl_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
ObjectVtbl
,
iface
);
return
I
DirectMusicAudioPathImpl_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
...
...
@@ -444,19 +444,19 @@ static const IDirectMusicObjectVtbl DirectMusicAudioPath_Object_Vtbl = {
};
/* IDirectMusicAudioPathImpl IPersistStream part: */
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicAudioPathImpl_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicAudioPathImpl_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicAudioPathImpl
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicAudioPathImpl_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicAudioPathImpl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/dmime_private.h
View file @
06e23dad
This diff is collapsed.
Click to expand it.
dlls/dmime/graph.c
View file @
06e23dad
...
...
@@ -26,25 +26,25 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicGraphImpl implementation
*/
/* IDirectMusicGraphImpl IUnknown part: */
HRESULT
WINAPI
IDirectMusicGraphImpl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
UnknownVtbl
;
I
DirectMusicGraphImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicGraph
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
GraphVtbl
;
I
DirectMusicGraphImpl_IDirectMusicGraph_AddRef
((
LPDIRECTMUSICGRAPH
)
&
This
->
GraphVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicObject
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
ObjectVtbl
;
I
DirectMusicGraphImpl_IDirectMusicObject_AddRef
((
LPDIRECTMUSICOBJECT
)
&
This
->
ObjectVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicGraphImpl_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -52,7 +52,7 @@ HRESULT WINAPI IDirectMusicGraphImpl_IUnknown_QueryInterface (LPUNKNOWN iface, R
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicGraphImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicGraphImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -84,19 +84,19 @@ static const IUnknownVtbl DirectMusicGraph_Unknown_Vtbl = {
};
/* IDirectMusicGraphImpl IDirectMusicGraph part: */
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_QueryInterface
(
LPDIRECTMUSICGRAPH
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_QueryInterface
(
LPDIRECTMUSICGRAPH
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
GraphVtbl
,
iface
);
return
I
DirectMusicGraphImpl_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_AddRef
(
LPDIRECTMUSICGRAPH
iface
)
{
static
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_AddRef
(
LPDIRECTMUSICGRAPH
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
GraphVtbl
,
iface
);
return
I
DirectMusicGraphImpl_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_Release
(
LPDIRECTMUSICGRAPH
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
GraphVtbl
,
iface
);
return
I
DirectMusicGraphImpl_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicGraph_StampPMsg
(
LPDIRECTMUSICGRAPH
iface
,
DMUS_PMSG
*
pPMSG
)
{
...
...
@@ -165,7 +165,7 @@ static HRESULT WINAPI IDirectMusicGraphImpl_IDirectMusicGraph_GetTool (LPDIRECTM
if
(
pIt
->
dwIndex
==
dwIndex
)
{
*
ppTool
=
pIt
->
pTool
;
if
(
NULL
!=
*
ppTool
)
{
IDirectMusicTool8
Impl
_AddRef
((
LPDIRECTMUSICTOOL8
)
*
ppTool
);
IDirectMusicTool8_AddRef
((
LPDIRECTMUSICTOOL8
)
*
ppTool
);
}
return
S_OK
;
}
...
...
@@ -195,19 +195,19 @@ static const IDirectMusicGraphVtbl DirectMusicGraph_Graph_Vtbl = {
/* IDirectMusicGraphImpl IDirectMusicObject part: */
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
ObjectVtbl
,
iface
);
return
I
DirectMusicGraphImpl_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
ObjectVtbl
,
iface
);
return
I
DirectMusicGraphImpl_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
ObjectVtbl
,
iface
);
return
I
DirectMusicGraphImpl_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
...
...
@@ -410,12 +410,12 @@ static const IDirectMusicObjectVtbl DirectMusicGraph_Object_Vtbl = {
};
/* IDirectMusicGraphImpl IPersistStream part: */
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicGraphImpl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicGraphImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicGraphImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicGraphImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicGraphImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicGraphImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
...
...
dlls/dmime/lyricstrack.c
View file @
06e23dad
...
...
@@ -26,22 +26,22 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicLyricsTrack implementation
*/
/* IDirectMusicLyricsTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicLyricsTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
I
DirectMusicLyricsTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack8
))
{
*
ppobj
=
(
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
;
I
DirectMusicLyricsTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicLyricsTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -49,7 +49,7 @@ HRESULT WINAPI IDirectMusicLyricsTrack_IUnknown_QueryInterface (LPUNKNOWN iface,
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicLyricsTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicLyricsTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -81,19 +81,19 @@ static const IUnknownVtbl DirectMusicLyricsTrack_Unknown_Vtbl = {
};
/* IDirectMusicLyricsTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicLyricsTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicLyricsTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicLyricsTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
...
...
@@ -215,19 +215,19 @@ static const IDirectMusicTrack8Vtbl DirectMusicLyricsTrack_Track_Vtbl = {
};
/* IDirectMusicLyricsTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicLyricsTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicLyricsTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicLyricsTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicLyricsTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicLyricsTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicLyricsTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicLyricsTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicLyricsTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/markertrack.c
View file @
06e23dad
...
...
@@ -26,22 +26,22 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicMarkerTrack implementation
*/
/* IDirectMusicMarkerTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicMarkerTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
I
DirectMusicMarkerTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack8
))
{
*
ppobj
=
(
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
;
I
DirectMusicMarkerTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicMarkerTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -49,7 +49,7 @@ HRESULT WINAPI IDirectMusicMarkerTrack_IUnknown_QueryInterface (LPUNKNOWN iface,
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicMarkerTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicMarkerTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -81,19 +81,19 @@ static const IUnknownVtbl DirectMusicMarkerTrack_Unknown_Vtbl = {
};
/* IDirectMusicMarkerTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicMarkerTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicMarkerTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicMarkerTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
...
...
@@ -215,19 +215,19 @@ static const IDirectMusicTrack8Vtbl DirectMusicMarkerTrack_Track_Vtbl = {
};
/* IDirectMusicMarkerTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicMarkerTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicMarkerTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicMarkerTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicMarkerTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicMarkerTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicMarkerTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicMarkerTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicMarkerTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/paramcontroltrack.c
View file @
06e23dad
...
...
@@ -26,22 +26,22 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicParamControlTrack implementation
*/
/* IDirectMusicParamControlTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicParamControlTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
I
DirectMusicParamControlTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack8
))
{
*
ppobj
=
(
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
;
I
DirectMusicParamControlTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicParamControlTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -49,7 +49,7 @@ HRESULT WINAPI IDirectMusicParamControlTrack_IUnknown_QueryInterface (LPUNKNOWN
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicParamControlTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicParamControlTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -81,19 +81,19 @@ static const IUnknownVtbl DirectMusicParamControlTrack_Unknown_Vtbl = {
};
/* IDirectMusicParamControlTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicParamControlTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicParamControlTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicParamControlTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
...
...
@@ -215,19 +215,19 @@ static const IDirectMusicTrack8Vtbl DirectMusicParamControlTrack_Track_Vtbl = {
};
/* IDirectMusicParamControlTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicParamControlTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicParamControlTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicParamControlTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicParamControlTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicParamControlTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicParamControlTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicParamControlTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicParamControlTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/patterntrack.c
View file @
06e23dad
...
...
@@ -22,13 +22,13 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmime
);
/* IDirectMusicPatternTrack IUnknown parts follow: */
HRESULT
WINAPI
IDirectMusicPatternTrackImpl_QueryInterface
(
LPDIRECTMUSICPATTERNTRACK
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicPatternTrackImpl_QueryInterface
(
LPDIRECTMUSICPATTERNTRACK
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IDirectMusicPatternTrackImpl
*
This
=
(
IDirectMusicPatternTrackImpl
*
)
iface
;
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicPatternTrack
))
{
I
DirectMusicPatternTrackImpl
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppobj
=
This
;
return
S_OK
;
}
...
...
@@ -37,7 +37,7 @@ HRESULT WINAPI IDirectMusicPatternTrackImpl_QueryInterface (LPDIRECTMUSICPATTERN
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicPatternTrackImpl_AddRef
(
LPDIRECTMUSICPATTERNTRACK
iface
)
{
static
ULONG
WINAPI
IDirectMusicPatternTrackImpl_AddRef
(
LPDIRECTMUSICPATTERNTRACK
iface
)
{
IDirectMusicPatternTrackImpl
*
This
=
(
IDirectMusicPatternTrackImpl
*
)
iface
;
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
dlls/dmime/performance.c
View file @
06e23dad
...
...
@@ -85,7 +85,7 @@ static DWORD WINAPI ProcessMsgThread(LPVOID lpParam) {
EnterCriticalSection
(
&
This
->
safe
);
rtLastTime
=
rtCurTime
;
hr
=
IDirectMusicPerformance8
Impl
_GetTime
((
IDirectMusicPerformance8
*
)
This
,
&
rtCurTime
,
NULL
);
hr
=
IDirectMusicPerformance8_GetTime
((
IDirectMusicPerformance8
*
)
This
,
&
rtCurTime
,
NULL
);
if
(
FAILED
(
hr
))
{
goto
outrefresh
;
}
...
...
@@ -164,14 +164,14 @@ static BOOL PostMessageToProcessMsgThread(IDirectMusicPerformance8Impl* This, UI
}
/* IDirectMusicPerformance8 IUnknown part: */
HRESULT
WINAPI
IDirectMusicPerformance8Impl_QueryInterface
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_QueryInterface
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
TRACE
(
"(%p, %s,%p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicPerformance
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicPerformance8
))
{
I
DirectMusicPerformance8Impl
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppobj
=
This
;
return
S_OK
;
}
...
...
@@ -180,7 +180,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_QueryInterface (LPDIRECTMUSICPERFORM
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicPerformance8Impl_AddRef
(
LPDIRECTMUSICPERFORMANCE8
iface
)
{
static
ULONG
WINAPI
IDirectMusicPerformance8Impl_AddRef
(
LPDIRECTMUSICPERFORMANCE8
iface
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -377,7 +377,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_IsPlaying (LPDIRECTMUSICPERFO
return
S_FALSE
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
*
prtNow
,
MUSIC_TIME
*
pmtNow
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetTime
(
LPDIRECTMUSICPERFORMANCE8
iface
,
REFERENCE_TIME
*
prtNow
,
MUSIC_TIME
*
pmtNow
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
HRESULT
hr
=
S_OK
;
REFERENCE_TIME
rtCur
=
0
;
...
...
@@ -445,7 +445,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_FreePMsg (LPDIRECTMUSICPERFOR
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetGraph
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicGraph
**
ppGraph
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_GetGraph
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicGraph
**
ppGraph
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p): to check
\n
"
,
This
,
ppGraph
);
if
(
NULL
!=
This
->
pToolGraph
)
{
...
...
@@ -457,7 +457,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_GetGraph (LPDIRECTMUSICPERFORMANCE8
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetGraph
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicGraph
*
pGraph
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetGraph
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicGraph
*
pGraph
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
iface
;
FIXME
(
"(%p, %p): to check
\n
"
,
This
,
pGraph
);
...
...
@@ -746,7 +746,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_InitAudio (LPDIRECTMUSICPERFO
This
->
pParams
.
dwFeatures
=
dwFlags
;
This
->
pParams
.
clsidDefaultSynth
=
CLSID_DirectMusicSynthSink
;
}
hr
=
IDirectMusicPerformance8
Impl
_CreateStandardAudioPath
(
iface
,
dwDefaultPathType
,
dwPChannelCount
,
FALSE
,
(
IDirectMusicAudioPath
**
)
&
This
->
pDefaultPath
);
hr
=
IDirectMusicPerformance8_CreateStandardAudioPath
(
iface
,
dwDefaultPathType
,
dwPChannelCount
,
FALSE
,
(
IDirectMusicAudioPath
**
)
&
This
->
pDefaultPath
);
PostMessageToProcessMsgThread
(
This
,
PROCESSMSG_START
);
...
...
@@ -790,13 +790,13 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_CreateAudioPath (LPDIRECTMUSI
*
ppNewPath
=
(
LPDIRECTMUSICAUDIOPATH
)
pPath
;
return
IDirectMusicAudioPath
Impl_IDirectMusicAudioPath
_Activate
(
*
ppNewPath
,
fActivate
);
return
IDirectMusicAudioPath_Activate
(
*
ppNewPath
,
fActivate
);
}
/**
* see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directX/htm/standardaudiopaths.asp
*/
HRESULT
WINAPI
IDirectMusicPerformance8Impl_CreateStandardAudioPath
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwType
,
DWORD
dwPChannelCount
,
BOOL
fActivate
,
IDirectMusicAudioPath
**
ppNewPath
)
{
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_CreateStandardAudioPath
(
LPDIRECTMUSICPERFORMANCE8
iface
,
DWORD
dwType
,
DWORD
dwPChannelCount
,
BOOL
fActivate
,
IDirectMusicAudioPath
**
ppNewPath
)
{
IDirectMusicAudioPathImpl
*
default_path
;
IDirectMusicAudioPath
*
pPath
;
DSBUFFERDESC
desc
;
...
...
@@ -884,7 +884,7 @@ HRESULT WINAPI IDirectMusicPerformance8Impl_CreateStandardAudioPath (LPDIRECTMUS
TRACE
(
" returning IDirectMusicPerformance interface at %p.
\n
"
,
*
ppNewPath
);
return
IDirectMusicAudioPath
Impl_IDirectMusicAudioPath
_Activate
(
*
ppNewPath
,
fActivate
);
return
IDirectMusicAudioPath_Activate
(
*
ppNewPath
,
fActivate
);
}
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_SetDefaultAudioPath
(
LPDIRECTMUSICPERFORMANCE8
iface
,
IDirectMusicAudioPath
*
pAudioPath
)
{
...
...
dlls/dmime/segment.c
View file @
06e23dad
...
...
@@ -27,27 +27,27 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicSegmentImpl implementation
*/
/* IDirectMusicSegment IUnknown part: */
HRESULT
WINAPI
IDirectMusicSegment8Impl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
UnknownVtbl
;
I
DirectMusicSegment8Impl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicSegment
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicSegment2
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicSegment8
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
SegmentVtbl
;
I
DirectMusicSegment8Impl_IDirectMusicSegment8_AddRef
((
LPDIRECTMUSICSEGMENT8
)
&
This
->
SegmentVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicObject
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
ObjectVtbl
;
I
DirectMusicSegment8Impl_IDirectMusicObject_AddRef
((
LPDIRECTMUSICOBJECT
)
&
This
->
ObjectVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicSegment8Impl_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -55,7 +55,7 @@ HRESULT WINAPI IDirectMusicSegment8Impl_IUnknown_QueryInterface (LPUNKNOWN iface
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicSegment8Impl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -87,19 +87,19 @@ static const IUnknownVtbl DirectMusicSegment8_Unknown_Vtbl = {
};
/* IDirectMusicSegmentImpl IDirectMusicSegment part: */
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_QueryInterface
(
LPDIRECTMUSICSEGMENT8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_QueryInterface
(
LPDIRECTMUSICSEGMENT8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
return
I
DirectMusicSegment8Impl_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_AddRef
(
LPDIRECTMUSICSEGMENT8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_AddRef
(
LPDIRECTMUSICSEGMENT8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
return
I
DirectMusicSegment8Impl_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_Release
(
LPDIRECTMUSICSEGMENT8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
SegmentVtbl
,
iface
);
return
I
DirectMusicSegment8Impl_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicSegment8_GetLength
(
LPDIRECTMUSICSEGMENT8
iface
,
MUSIC_TIME
*
pmtLength
)
{
...
...
@@ -515,19 +515,19 @@ static const IDirectMusicSegment8Vtbl DirectMusicSegment8_Segment_Vtbl = {
};
/* IDirectMusicSegment8Impl IDirectMusicObject part: */
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
ObjectVtbl
,
iface
);
return
I
DirectMusicSegment8Impl_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
ObjectVtbl
,
iface
);
return
I
DirectMusicSegment8Impl_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
ObjectVtbl
,
iface
);
return
I
DirectMusicSegment8Impl_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
...
...
@@ -753,19 +753,19 @@ static const IDirectMusicObjectVtbl DirectMusicSegment8_Object_Vtbl = {
};
/* IDirectMusicSegment8Impl IPersistStream part: */
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSegment8Impl_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicSegment8Impl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSegment8Impl_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicSegment8Impl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegment8Impl
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSegment8Impl_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSegment8Impl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/segmentstate.c
View file @
06e23dad
...
...
@@ -22,14 +22,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmime
);
/* IDirectMusicSegmentState8Impl IUnknown part: */
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_QueryInterface
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_QueryInterface
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicSegmentState
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicSegmentState8
))
{
I
DirectMusicSegmentState8Impl
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppobj
=
This
;
return
S_OK
;
}
...
...
@@ -37,7 +37,7 @@ HRESULT WINAPI IDirectMusicSegmentState8Impl_QueryInterface (LPDIRECTMUSICSEGMEN
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicSegmentState8Impl_AddRef
(
LPDIRECTMUSICSEGMENTSTATE8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegmentState8Impl_AddRef
(
LPDIRECTMUSICSEGMENTSTATE8
iface
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -100,7 +100,7 @@ static HRESULT WINAPI IDirectMusicSegmentState8Impl_SetTrackConfig (LPDIRECTMUSI
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetObjectInPath
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
DWORD
dwPChannel
,
DWORD
dwStage
,
DWORD
dwBuffer
,
REFGUID
guidObject
,
DWORD
dwIndex
,
REFGUID
iidInterface
,
void
**
ppObject
)
{
static
HRESULT
WINAPI
IDirectMusicSegmentState8Impl_GetObjectInPath
(
LPDIRECTMUSICSEGMENTSTATE8
iface
,
DWORD
dwPChannel
,
DWORD
dwStage
,
DWORD
dwBuffer
,
REFGUID
guidObject
,
DWORD
dwIndex
,
REFGUID
iidInterface
,
void
**
ppObject
)
{
IDirectMusicSegmentState8Impl
*
This
=
(
IDirectMusicSegmentState8Impl
*
)
iface
;
FIXME
(
"(%p, %ld, %ld, %ld, %s, %ld, %s, %p): stub
\n
"
,
This
,
dwPChannel
,
dwStage
,
dwBuffer
,
debugstr_dmguid
(
guidObject
),
dwIndex
,
debugstr_dmguid
(
iidInterface
),
ppObject
);
return
S_OK
;
...
...
dlls/dmime/segtriggertrack.c
View file @
06e23dad
...
...
@@ -27,22 +27,22 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicSegTriggerTrack implementation
*/
/* IDirectMusicSegTriggerTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
I
DirectMusicSegTriggerTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack8
))
{
*
ppobj
=
(
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
;
I
DirectMusicSegTriggerTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicSegTriggerTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -50,7 +50,7 @@ HRESULT WINAPI IDirectMusicSegTriggerTrack_IUnknown_QueryInterface (LPUNKNOWN if
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -82,19 +82,19 @@ static const IUnknownVtbl DirectMusicSegTriggerTrack_Unknown_Vtbl = {
};
/* IDirectMusicSegTriggerTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicSegTriggerTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicSegTriggerTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicSegTriggerTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
...
...
@@ -216,19 +216,19 @@ static const IDirectMusicTrack8Vtbl DirectMusicSegTriggerTrack_Track_Vtbl = {
};
/* IDirectMusicSegTriggerTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSegTriggerTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSegTriggerTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSegTriggerTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSegTriggerTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSegTriggerTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/seqtrack.c
View file @
06e23dad
...
...
@@ -26,22 +26,22 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicSeqTrack implementation
*/
/* IDirectMusicSeqTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicSeqTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s,%p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
I
DirectMusicSeqTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack8
))
{
*
ppobj
=
(
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
;
I
DirectMusicSeqTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicSeqTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -49,7 +49,7 @@ HRESULT WINAPI IDirectMusicSeqTrack_IUnknown_QueryInterface (LPUNKNOWN iface, RE
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicSeqTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicSeqTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -81,19 +81,19 @@ static const IUnknownVtbl DirectMusicSeqTrack_Unknown_Vtbl = {
};
/* IDirectMusicSeqTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicSeqTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicSeqTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicSeqTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
...
...
@@ -215,19 +215,19 @@ static const IDirectMusicTrack8Vtbl DirectMusicSeqTrack_Track_Vtbl = {
};
/* IDirectMusicSeqTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSeqTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicSeqTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicSeqTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSeqTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicSeqTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSeqTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSeqTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSeqTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/sysextrack.c
View file @
06e23dad
...
...
@@ -26,22 +26,22 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicSysExTrack implementation
*/
/* IDirectMusicSysExTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicSysExTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
I
DirectMusicSysExTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack8
))
{
*
ppobj
=
(
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
;
I
DirectMusicSysExTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicSysExTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -49,7 +49,7 @@ HRESULT WINAPI IDirectMusicSysExTrack_IUnknown_QueryInterface (LPUNKNOWN iface,
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicSysExTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicSysExTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -81,19 +81,19 @@ static const IUnknownVtbl DirectMusicSysExTrack_Unknown_Vtbl = {
};
/* IDirectMusicSysExTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicSysExTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicSysExTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicSysExTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
...
...
@@ -215,19 +215,19 @@ static const IDirectMusicTrack8Vtbl DirectMusicSysExTrack_Track_Vtbl = {
};
/* IDirectMusicSysExTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSysExTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicSysExTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicSysExTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSysExTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicSysExTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSysExTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicSysExTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicSysExTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/tempotrack.c
View file @
06e23dad
...
...
@@ -27,22 +27,22 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicTempoTrack implementation
*/
/* IDirectMusicTempoTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicTempoTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
I
DirectMusicTempoTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack8
))
{
*
ppobj
=
(
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
;
I
DirectMusicTempoTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicTempoTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -50,7 +50,7 @@ HRESULT WINAPI IDirectMusicTempoTrack_IUnknown_QueryInterface (LPUNKNOWN iface,
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicTempoTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicTempoTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -82,19 +82,19 @@ static const IUnknownVtbl DirectMusicTempoTrack_Unknown_Vtbl = {
};
/* IDirectMusicTempoTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicTempoTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicTempoTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicTempoTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
...
...
@@ -161,7 +161,7 @@ static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_GetParam (LPDIREC
return
E_POINTER
;
}
hr
=
IDirectMusicT
empoTrack_IDirectMusicT
rack_IsParamSupported
(
iface
,
rguidType
);
hr
=
IDirectMusicTrack_IsParamSupported
(
iface
,
rguidType
);
if
(
FAILED
(
hr
))
{
return
hr
;
}
...
...
@@ -202,7 +202,7 @@ static HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_SetParam (LPDIREC
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_dmguid
(
rguidType
));
...
...
@@ -289,19 +289,19 @@ static const IDirectMusicTrack8Vtbl DirectMusicTempoTrack_Track_Vtbl = {
};
/* IDirectMusicTempoTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicTempoTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicTempoTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicTempoTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicTempoTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicTempoTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTempoTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicTempoTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicTempoTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/timesigtrack.c
View file @
06e23dad
...
...
@@ -26,22 +26,22 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicTimeSigTrack implementation
*/
/* IDirectMusicTimeSigTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
I
DirectMusicTimeSigTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack8
))
{
*
ppobj
=
(
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
;
I
DirectMusicTimeSigTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicTimeSigTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -49,7 +49,7 @@ HRESULT WINAPI IDirectMusicTimeSigTrack_IUnknown_QueryInterface (LPUNKNOWN iface
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicTimeSigTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicTimeSigTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -81,19 +81,19 @@ static const IUnknownVtbl DirectMusicTimeSigTrack_Unknown_Vtbl = {
};
/* IDirectMusicTimeSigTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicTimeSigTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicTimeSigTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicTimeSigTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
...
...
@@ -220,19 +220,19 @@ static const IDirectMusicTrack8Vtbl DirectMusicTimeSigTrack_Track_Vtbl = {
};
/* IDirectMusicTimeSigTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicTimeSigTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicTimeSigTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicTimeSigTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicTimeSigTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicTimeSigTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
dlls/dmime/tool.c
View file @
06e23dad
...
...
@@ -22,13 +22,13 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmime
);
/* IDirectMusicTool8Impl IUnknown part: */
HRESULT
WINAPI
IDirectMusicTool8Impl_QueryInterface
(
LPDIRECTMUSICTOOL8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicTool8Impl_QueryInterface
(
LPDIRECTMUSICTOOL8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTool
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTool8
))
{
I
DirectMusicTool8Impl
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppobj
=
This
;
return
S_OK
;
}
...
...
@@ -36,7 +36,7 @@ HRESULT WINAPI IDirectMusicTool8Impl_QueryInterface (LPDIRECTMUSICTOOL8 iface, R
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicTool8Impl_AddRef
(
LPDIRECTMUSICTOOL8
iface
)
{
static
ULONG
WINAPI
IDirectMusicTool8Impl_AddRef
(
LPDIRECTMUSICTOOL8
iface
)
{
IDirectMusicTool8Impl
*
This
=
(
IDirectMusicTool8Impl
*
)
iface
;
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
dlls/dmime/wavetrack.c
View file @
06e23dad
...
...
@@ -26,22 +26,22 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicWaveTrack implementation
*/
/* IDirectMusicWaveTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicWaveTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
I
DirectMusicWaveTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack8
))
{
*
ppobj
=
(
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
;
I
DirectMusicWaveTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
I
DirectMusicWaveTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
Unknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -49,7 +49,7 @@ HRESULT WINAPI IDirectMusicWaveTrack_IUnknown_QueryInterface (LPUNKNOWN iface, R
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicWaveTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicWaveTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -81,19 +81,19 @@ static const IUnknownVtbl DirectMusicWaveTrack_Unknown_Vtbl = {
};
/* IDirectMusicWaveTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicWaveTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicWaveTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
TrackVtbl
,
iface
);
return
I
DirectMusicWaveTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
...
...
@@ -221,19 +221,19 @@ static const IDirectMusicTrack8Vtbl DirectMusicWaveTrack_Track_Vtbl = {
};
/* IDirectMusicWaveTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicWaveTrack_I
Unknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicWaveTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicWaveTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicWaveTrack_I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
ULONG
WINAPI
IDirectMusicWaveTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicWaveTrack
,
PersistStreamVtbl
,
iface
);
return
I
DirectMusicWaveTrack_I
Unknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
static
HRESULT
WINAPI
IDirectMusicWaveTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
...
...
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