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
fd0546bb
Commit
fd0546bb
authored
Jan 08, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmcompos: Remove superfluous casts.
parent
b91f72ec
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
chordmap.c
dlls/dmcompos/chordmap.c
+4
-4
chordmaptrack.c
dlls/dmcompos/chordmaptrack.c
+2
-2
dmcompos_main.c
dlls/dmcompos/dmcompos_main.c
+5
-5
signposttrack.c
dlls/dmcompos/signposttrack.c
+2
-2
No files found.
dlls/dmcompos/chordmap.c
View file @
fd0546bb
...
...
@@ -36,19 +36,19 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_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
;
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicChordMap
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
ChordMapVtbl
;
*
ppobj
=
&
This
->
ChordMapVtbl
;
IDirectMusicChordMapImpl_IDirectMusicChordMap_AddRef
((
LPDIRECTMUSICCHORDMAP
)
&
This
->
ChordMapVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicObject
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
ObjectVtbl
;
*
ppobj
=
&
This
->
ObjectVtbl
;
IDirectMusicChordMapImpl_IDirectMusicObject_AddRef
((
LPDIRECTMUSICOBJECT
)
&
This
->
ObjectVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPVOID
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IDirectMusicChordMapImpl_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
return
S_OK
;
}
...
...
dlls/dmcompos/chordmaptrack.c
View file @
fd0546bb
...
...
@@ -34,7 +34,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IUnknown_QueryInterface (LPUNKNO
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IDirectMusicChordMapTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -43,7 +43,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IUnknown_QueryInterface (LPUNKNO
IDirectMusicChordMapTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IDirectMusicChordMapTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
return
S_OK
;
}
...
...
dlls/dmcompos/dmcompos_main.c
View file @
fd0546bb
...
...
@@ -318,23 +318,23 @@ HRESULT WINAPI DllCanUnloadNow(void) {
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_DirectMusicChordMap
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
ChordMap_CF
;
*
ppv
=
&
ChordMap_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicComposer
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
Composer_CF
;
*
ppv
=
&
Composer_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicChordMapTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
ChordMapTrack_CF
;
*
ppv
=
&
ChordMapTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicTemplate
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
Template_CF
;
*
ppv
=
&
Template_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_DirectMusicSignPostTrack
)
&&
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppv
=
(
LPVOID
)
&
SignPostTrack_CF
;
*
ppv
=
&
SignPostTrack_CF
;
IClassFactory_AddRef
((
IClassFactory
*
)
*
ppv
);
return
S_OK
;
}
...
...
dlls/dmcompos/signposttrack.c
View file @
fd0546bb
...
...
@@ -34,7 +34,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IUnknown_QueryInterface (LPUNKNO
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
(
LPUNKNOWN
)
&
This
->
UnknownVtbl
;
*
ppobj
=
&
This
->
UnknownVtbl
;
IDirectMusicSignPostTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicTrack
)
...
...
@@ -43,7 +43,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IUnknown_QueryInterface (LPUNKNO
IDirectMusicSignPostTrack_IDirectMusicTrack_AddRef
((
LPDIRECTMUSICTRACK8
)
&
This
->
TrackVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
(
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
;
*
ppobj
=
&
This
->
PersistStreamVtbl
;
IDirectMusicSignPostTrack_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
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