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
49177a09
Commit
49177a09
authored
Jan 13, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Remove superfluous pointer casts.
parent
68eb63a4
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
45 additions
and
45 deletions
+45
-45
audiopath.c
dlls/dmime/audiopath.c
+4
-4
dmime_main.c
dlls/dmime/dmime_main.c
+14
-14
graph.c
dlls/dmime/graph.c
+4
-4
lyricstrack.c
dlls/dmime/lyricstrack.c
+2
-2
markertrack.c
dlls/dmime/markertrack.c
+2
-2
paramcontroltrack.c
dlls/dmime/paramcontroltrack.c
+2
-2
performance.c
dlls/dmime/performance.c
+1
-1
segment.c
dlls/dmime/segment.c
+4
-4
segtriggertrack.c
dlls/dmime/segtriggertrack.c
+2
-2
seqtrack.c
dlls/dmime/seqtrack.c
+2
-2
sysextrack.c
dlls/dmime/sysextrack.c
+2
-2
tempotrack.c
dlls/dmime/tempotrack.c
+2
-2
timesigtrack.c
dlls/dmime/timesigtrack.c
+2
-2
wavetrack.c
dlls/dmime/wavetrack.c
+2
-2
No files found.
dlls/dmime/audiopath.c
View file @
49177a09
...
...
@@ -31,19 +31,19 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IUnknown_QueryInterface (LPUNKNO
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicAudioPath
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
AudioPathVtbl
;
*
ppobj
=
&
This
->
AudioPathVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicObject
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
ObjectVtbl
;
*
ppobj
=
&
This
->
ObjectVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/dmime_main.c
View file @
49177a09
...
...
@@ -766,59 +766,59 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
TRACE
(
"(%s, %s, %p)
\n
"
,
debugstr_dmguid
(
rclsid
),
debugstr_dmguid
(
riid
),
ppv
);
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicPerformance
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
Performance_CF
;
*
ppv
=
&
Performance_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicSegment
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
Segment_CF
;
*
ppv
=
&
Segment_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicSegmentState
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
SegmentState_CF
;
*
ppv
=
&
SegmentState_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicGraph
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
Graph_CF
;
*
ppv
=
&
Graph_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicTempoTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
TempoTrack_CF
;
*
ppv
=
&
TempoTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicSeqTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
SeqTrack_CF
;
*
ppv
=
&
SeqTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicSysExTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
SysExTrack_CF
;
*
ppv
=
&
SysExTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicTimeSigTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
TimeSigTrack_CF
;
*
ppv
=
&
TimeSigTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicParamControlTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
ParamControlTrack_CF
;
*
ppv
=
&
ParamControlTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicMarkerTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
MarkerTrack_CF
;
*
ppv
=
&
MarkerTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicLyricsTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
LyricsTrack_CF
;
*
ppv
=
&
LyricsTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicSegTriggerTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
SegTriggerTrack_CF
;
*
ppv
=
&
SegTriggerTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicAudioPath
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
AudioPath_CF
;
*
ppv
=
&
AudioPath_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicWaveTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
WaveTrack_CF
;
*
ppv
=
&
WaveTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
...
...
dlls/dmime/graph.c
View file @
49177a09
...
...
@@ -31,19 +31,19 @@ static HRESULT WINAPI IDirectMusicGraphImpl_IUnknown_QueryInterface (LPUNKNOWN i
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicGraph
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
GraphVtbl
;
*
ppobj
=
&
This
->
GraphVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicObject
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
ObjectVtbl
;
*
ppobj
=
&
This
->
ObjectVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/lyricstrack.c
View file @
49177a09
...
...
@@ -30,7 +30,7 @@ static HRESULT WINAPI IDirectMusicLyricsTrack_IUnknown_QueryInterface (LPUNKNOWN
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -39,7 +39,7 @@ static HRESULT WINAPI IDirectMusicLyricsTrack_IUnknown_QueryInterface (LPUNKNOWN
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/markertrack.c
View file @
49177a09
...
...
@@ -30,7 +30,7 @@ static HRESULT WINAPI IDirectMusicMarkerTrack_IUnknown_QueryInterface (LPUNKNOWN
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -39,7 +39,7 @@ static HRESULT WINAPI IDirectMusicMarkerTrack_IUnknown_QueryInterface (LPUNKNOWN
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/paramcontroltrack.c
View file @
49177a09
...
...
@@ -30,7 +30,7 @@ static HRESULT WINAPI IDirectMusicParamControlTrack_IUnknown_QueryInterface (LPU
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -39,7 +39,7 @@ static HRESULT WINAPI IDirectMusicParamControlTrack_IUnknown_QueryInterface (LPU
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/performance.c
View file @
49177a09
...
...
@@ -67,7 +67,7 @@ static DMUS_PMSGItem* ProceedMsg(IDirectMusicPerformance8Impl* This, DMUS_PMSGIt
}
static
DWORD
WINAPI
ProcessMsgThread
(
LPVOID
lpParam
)
{
IDirectMusicPerformance8Impl
*
This
=
(
IDirectMusicPerformance8Impl
*
)
lpParam
;
IDirectMusicPerformance8Impl
*
This
=
lpParam
;
DWORD
timeOut
=
INFINITE
;
MSG
msg
;
HRESULT
hr
;
...
...
dlls/dmime/segment.c
View file @
49177a09
...
...
@@ -32,21 +32,21 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IUnknown_QueryInterface (LPUNKNOW
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicSegment
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicSegment2
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicSegment8
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
SegmentVtbl
;
*
ppobj
=
&
This
->
SegmentVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicObject
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
ObjectVtbl
;
*
ppobj
=
&
This
->
ObjectVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/segtriggertrack.c
View file @
49177a09
...
...
@@ -32,7 +32,7 @@ static HRESULT WINAPI IDirectMusicSegTriggerTrack_IUnknown_QueryInterface (LPUNK
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -41,7 +41,7 @@ static HRESULT WINAPI IDirectMusicSegTriggerTrack_IUnknown_QueryInterface (LPUNK
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/seqtrack.c
View file @
49177a09
...
...
@@ -30,7 +30,7 @@ static HRESULT WINAPI IDirectMusicSeqTrack_IUnknown_QueryInterface (LPUNKNOWN if
TRACE
(
"(%p, %s,%p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -39,7 +39,7 @@ static HRESULT WINAPI IDirectMusicSeqTrack_IUnknown_QueryInterface (LPUNKNOWN if
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/sysextrack.c
View file @
49177a09
...
...
@@ -30,7 +30,7 @@ static HRESULT WINAPI IDirectMusicSysExTrack_IUnknown_QueryInterface (LPUNKNOWN
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -39,7 +39,7 @@ static HRESULT WINAPI IDirectMusicSysExTrack_IUnknown_QueryInterface (LPUNKNOWN
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/tempotrack.c
View file @
49177a09
...
...
@@ -32,7 +32,7 @@ static HRESULT WINAPI IDirectMusicTempoTrack_IUnknown_QueryInterface (LPUNKNOWN
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -41,7 +41,7 @@ static HRESULT WINAPI IDirectMusicTempoTrack_IUnknown_QueryInterface (LPUNKNOWN
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/timesigtrack.c
View file @
49177a09
...
...
@@ -30,7 +30,7 @@ static HRESULT WINAPI IDirectMusicTimeSigTrack_IUnknown_QueryInterface (LPUNKNOW
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -39,7 +39,7 @@ static HRESULT WINAPI IDirectMusicTimeSigTrack_IUnknown_QueryInterface (LPUNKNOW
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/dmime/wavetrack.c
View file @
49177a09
...
...
@@ -30,7 +30,7 @@ static HRESULT WINAPI IDirectMusicWaveTrack_IUnknown_QueryInterface (LPUNKNOWN i
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -39,7 +39,7 @@ static HRESULT WINAPI IDirectMusicWaveTrack_IUnknown_QueryInterface (LPUNKNOWN i
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IUnknown_AddRef
(
iface
);
return
S_OK
;
}
...
...
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