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
699fa23b
Commit
699fa23b
authored
Sep 21, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Sep 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Rename params in SynthPortImpl_IDirectMusicPort_QueryInterface.
parent
27b28688
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
23 deletions
+25
-23
port.c
dlls/dmusic/port.c
+25
-23
No files found.
dlls/dmusic/port.c
View file @
699fa23b
...
@@ -39,31 +39,33 @@ static inline SynthPortImpl *impl_from_SynthPortImpl_IDirectMusicThru(IDirectMus
...
@@ -39,31 +39,33 @@ static inline SynthPortImpl *impl_from_SynthPortImpl_IDirectMusicThru(IDirectMus
}
}
/* SynthPortImpl IDirectMusicPort IUnknown part follows: */
/* SynthPortImpl IDirectMusicPort IUnknown part follows: */
static
HRESULT
WINAPI
SynthPortImpl_IDirectMusicPort_QueryInterface
(
LPDIRECTMUSICPORT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
static
HRESULT
WINAPI
SynthPortImpl_IDirectMusicPort_QueryInterface
(
LPDIRECTMUSICPORT
iface
,
REFIID
riid
,
LPVOID
*
ret_iface
)
{
{
SynthPortImpl
*
This
=
impl_from_SynthPortImpl_IDirectMusicPort
(
iface
);
SynthPortImpl
*
This
=
impl_from_SynthPortImpl_IDirectMusicPort
(
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
TRACE
(
"(%p/%p)->(%s, %p)
\n
"
,
iface
,
This
,
debugstr_dmguid
(
riid
),
ret_iface
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectMusicPort
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectMusicPort
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectMusicPort8
))
{
IsEqualGUID
(
riid
,
&
IID_IDirectMusicPort8
))
{
*
ppobj
=
&
This
->
IDirectMusicPort_iface
;
*
ret_iface
=
&
This
->
IDirectMusicPort_iface
;
IDirectMusicPort_AddRef
((
LPDIRECTMUSICPORT
)
*
ppobj
);
IDirectMusicPort_AddRef
((
LPDIRECTMUSICPORT
)
*
ret_iface
);
return
S_OK
;
return
S_OK
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDirectMusicPortDownload
)
||
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDirectMusicPortDownload
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectMusicPortDownload8
))
{
IsEqualGUID
(
riid
,
&
IID_IDirectMusicPortDownload8
))
{
*
ppobj
=
&
This
->
IDirectMusicPortDownload_iface
;
*
ret_iface
=
&
This
->
IDirectMusicPortDownload_iface
;
IDirectMusicPortDownload_AddRef
((
LPDIRECTMUSICPORTDOWNLOAD
)
*
ppobj
);
IDirectMusicPortDownload_AddRef
((
LPDIRECTMUSICPORTDOWNLOAD
)
*
ret_iface
);
return
S_OK
;
return
S_OK
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDirectMusicThru
)
||
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDirectMusicThru
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectMusicThru8
))
{
IsEqualGUID
(
riid
,
&
IID_IDirectMusicThru8
))
{
*
ppobj
=
&
This
->
IDirectMusicThru_iface
;
*
ret_iface
=
&
This
->
IDirectMusicThru_iface
;
IDirectMusicThru_AddRef
((
LPDIRECTMUSICTHRU
)
*
ppobj
);
IDirectMusicThru_AddRef
((
LPDIRECTMUSICTHRU
)
*
ret_iface
);
return
S_OK
;
return
S_OK
;
}
}
WARN
(
"(%p, %s, %p): not found
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
return
E_NOINTERFACE
;
WARN
(
"(%p, %s, %p): not found
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ret_iface
);
return
E_NOINTERFACE
;
}
}
static
ULONG
WINAPI
SynthPortImpl_IDirectMusicPort_AddRef
(
LPDIRECTMUSICPORT
iface
)
static
ULONG
WINAPI
SynthPortImpl_IDirectMusicPort_AddRef
(
LPDIRECTMUSICPORT
iface
)
...
...
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