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
e383cc39
Commit
e383cc39
authored
Jan 28, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Do not use method implementations directly.
parent
0d23637e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
style.c
dlls/dmstyle/style.c
+6
-14
No files found.
dlls/dmstyle/style.c
View file @
e383cc39
...
...
@@ -23,11 +23,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmstyle
);
WINE_DECLARE_DEBUG_CHANNEL
(
dmfile
);
static
ULONG
WINAPI
IDirectMusicStyle8Impl_IUnknown_AddRef
(
LPUNKNOWN
iface
);
static
ULONG
WINAPI
IDirectMusicStyle8Impl_IDirectMusicStyle8_AddRef
(
LPDIRECTMUSICSTYLE8
iface
);
static
ULONG
WINAPI
IDirectMusicStyle8Impl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
);
static
ULONG
WINAPI
IDirectMusicStyle8Impl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/*****************************************************************************
* IDirectMusicStyleImpl implementation
*/
...
...
@@ -38,23 +33,20 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_IUnknown_QueryInterface (LPUNKNOWN
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppobj
=
&
This
->
UnknownVtbl
;
I
DirectMusicStyle8Impl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
I
Unknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicStyle
))
{
*
ppobj
=
&
This
->
StyleVtbl
;
IDirectMusicStyle8Impl_IDirectMusicStyle8_AddRef
((
LPDIRECTMUSICSTYLE8
)
&
This
->
StyleVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicStyle8
))
{
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicStyle
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicStyle8
))
{
*
ppobj
=
&
This
->
StyleVtbl
;
IDirectMusicStyle8
Impl_IDirectMusicStyle8_AddRef
((
LPDIRECTMUSICSTYLE8
)
&
This
->
StyleVtbl
);
IDirectMusicStyle8
_AddRef
((
LPDIRECTMUSICSTYLE8
)
&
This
->
StyleVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDirectMusicObject
))
{
*
ppobj
=
&
This
->
ObjectVtbl
;
IDirectMusic
Style8Impl_IDirectMusicObject_AddRef
((
LPDIRECTMUSICOBJECT
)
&
This
->
ObjectVtbl
);
IDirectMusic
Object_AddRef
((
LPDIRECTMUSICOBJECT
)
&
This
->
ObjectVtbl
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
{
*
ppobj
=
&
This
->
PersistStreamVtbl
;
I
DirectMusicStyle8Impl_IPersistStream_AddRef
((
LPPERSISTSTREAM
)
&
This
->
PersistStreamVtbl
);
I
PersistStream_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