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
1f768377
Commit
1f768377
authored
Dec 16, 2014
by
Aidan Thornton
Committed by
Alexandre Julliard
Dec 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Implement IFilterGraph2::AddSourceFilterForMoniker.
parent
e6a558ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
filtergraph.c
dlls/quartz/filtergraph.c
+20
-1
No files found.
dlls/quartz/filtergraph.c
View file @
1f768377
...
...
@@ -1737,8 +1737,27 @@ static HRESULT WINAPI FilterGraph2_AddSourceFilterForMoniker(IFilterGraph2 *ifac
IMoniker
*
pMoniker
,
IBindCtx
*
pCtx
,
LPCWSTR
lpcwstrFilterName
,
IBaseFilter
**
ppFilter
)
{
IFilterGraphImpl
*
This
=
impl_from_IFilterGraph2
(
iface
);
HRESULT
hr
;
IBaseFilter
*
pfilter
;
TRACE
(
"(%p/%p)->(%p %p %s %p)
\n
"
,
This
,
iface
,
pMoniker
,
pCtx
,
debugstr_w
(
lpcwstrFilterName
),
ppFilter
);
hr
=
IMoniker_BindToObject
(
pMoniker
,
pCtx
,
NULL
,
&
IID_IBaseFilter
,
(
void
**
)
&
pfilter
);
if
(
FAILED
(
hr
))
{
WARN
(
"Unable to bind moniker to filter object (%x)
\n
"
,
hr
);
return
hr
;
}
hr
=
IFilterGraph2_AddFilter
(
iface
,
pfilter
,
lpcwstrFilterName
);
if
(
FAILED
(
hr
))
{
WARN
(
"Unable to add filter (%x)
\n
"
,
hr
);
IBaseFilter_Release
(
pfilter
);
return
hr
;
}
TRACE
(
"(%p/%p)->(%p %p %s %p): stub !!!
\n
"
,
This
,
iface
,
pMoniker
,
pCtx
,
debugstr_w
(
lpcwstrFilterName
),
ppFilter
);
if
(
ppFilter
)
*
ppFilter
=
pfilter
;
else
IBaseFilter_Release
(
pfilter
);
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