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
5d5da39d
Commit
5d5da39d
authored
Oct 12, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Oct 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Cleanup MediaStreamFilterImpl_QueryInterface.
parent
568c88cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
18 deletions
+11
-18
mediastreamfilter.c
dlls/amstream/mediastreamfilter.c
+11
-18
No files found.
dlls/amstream/mediastreamfilter.c
View file @
5d5da39d
...
...
@@ -102,29 +102,22 @@ static const BaseInputPinFuncTable input_BaseInputFuncTable = {
/*** IUnknown methods ***/
static
HRESULT
WINAPI
MediaStreamFilterImpl_QueryInterface
(
IMediaStreamFilter
*
iface
,
REFIID
riid
,
void
**
ppv
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_QueryInterface
(
IMediaStreamFilter
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
{
IMediaStreamFilterImpl
*
This
=
impl_from_IMediaStreamFilter
(
iface
);
TRACE
(
"(%p)->(%s, %p)
\n
"
,
iface
,
debugstr_guid
(
riid
),
ppv
);
TRACE
(
"(%p)->(%s, %p)
\n
"
,
iface
,
debugstr_guid
(
riid
),
ret_iface
);
*
ppv
=
NULL
;
*
ret_iface
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
*
ppv
=
This
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersist
))
*
ppv
=
This
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaFilter
))
*
ppv
=
This
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IBaseFilter
))
*
ppv
=
This
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaStreamFilter
))
*
ppv
=
This
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IPersist
)
||
IsEqualIID
(
riid
,
&
IID_IMediaFilter
)
||
IsEqualIID
(
riid
,
&
IID_IBaseFilter
)
||
IsEqualIID
(
riid
,
&
IID_IMediaStreamFilter
))
*
ret_iface
=
iface
;
if
(
*
ppv
)
if
(
*
ret_iface
)
{
I
Unknown_AddRef
((
IUnknown
*
)(
*
ppv
)
);
I
MediaStreamFilter_AddRef
(
*
ret_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