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
4e1302c2
Commit
4e1302c2
authored
Jul 02, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use impl_from_IBaseFilter() instead of casts.
parent
ad75caa4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
nullrenderer.c
dlls/quartz/nullrenderer.c
+8
-3
No files found.
dlls/quartz/nullrenderer.c
View file @
4e1302c2
...
...
@@ -183,21 +183,26 @@ static const IUnknownVtbl IInner_VTable =
NullRendererInner_Release
};
static
inline
NullRendererImpl
*
impl_from_IBaseFilter
(
IBaseFilter
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
NullRendererImpl
,
renderer
.
filter
.
IBaseFilter_iface
);
}
static
HRESULT
WINAPI
NullRenderer_QueryInterface
(
IBaseFilter
*
iface
,
REFIID
riid
,
LPVOID
*
ppv
)
{
NullRendererImpl
*
This
=
(
NullRendererImpl
*
)
iface
;
NullRendererImpl
*
This
=
impl_from_IBaseFilter
(
iface
)
;
return
IUnknown_QueryInterface
(
This
->
outer_unk
,
riid
,
ppv
);
}
static
ULONG
WINAPI
NullRenderer_AddRef
(
IBaseFilter
*
iface
)
{
NullRendererImpl
*
This
=
(
NullRendererImpl
*
)
iface
;
NullRendererImpl
*
This
=
impl_from_IBaseFilter
(
iface
)
;
return
IUnknown_AddRef
(
This
->
outer_unk
);
}
static
ULONG
WINAPI
NullRenderer_Release
(
IBaseFilter
*
iface
)
{
NullRendererImpl
*
This
=
(
NullRendererImpl
*
)
iface
;
NullRendererImpl
*
This
=
impl_from_IBaseFilter
(
iface
)
;
return
IUnknown_Release
(
This
->
outer_unk
);
}
...
...
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