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
89cf4cba
Commit
89cf4cba
authored
Jun 11, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Add default implementations of IUnknown methods for IVideoWindow.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fbd9133e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
window.c
dlls/strmbase/window.c
+18
-0
strmbase.h
include/wine/strmbase.h
+4
-0
No files found.
dlls/strmbase/window.c
View file @
89cf4cba
...
...
@@ -217,6 +217,24 @@ HRESULT WINAPI BaseControlWindow_Destroy(BaseControlWindow *pControlWindow)
return
S_OK
;
}
HRESULT
WINAPI
BaseControlWindowImpl_QueryInterface
(
IVideoWindow
*
iface
,
REFIID
iid
,
void
**
out
)
{
BaseControlWindow
*
window
=
impl_from_IVideoWindow
(
iface
);
return
IUnknown_QueryInterface
(
window
->
pFilter
->
outer_unk
,
iid
,
out
);
}
ULONG
WINAPI
BaseControlWindowImpl_AddRef
(
IVideoWindow
*
iface
)
{
BaseControlWindow
*
window
=
impl_from_IVideoWindow
(
iface
);
return
IUnknown_AddRef
(
window
->
pFilter
->
outer_unk
);
}
ULONG
WINAPI
BaseControlWindowImpl_Release
(
IVideoWindow
*
iface
)
{
BaseControlWindow
*
window
=
impl_from_IVideoWindow
(
iface
);
return
IUnknown_Release
(
window
->
pFilter
->
outer_unk
);
}
HRESULT
WINAPI
BaseControlWindowImpl_GetTypeInfoCount
(
IVideoWindow
*
iface
,
UINT
*
count
)
{
TRACE
(
"iface %p, count %p.
\n
"
,
iface
,
count
);
...
...
include/wine/strmbase.h
View file @
89cf4cba
...
...
@@ -430,6 +430,10 @@ HRESULT WINAPI BaseControlWindow_Init(BaseControlWindow *pControlWindow, const I
HRESULT
WINAPI
BaseControlWindow_Destroy
(
BaseControlWindow
*
pControlWindow
);
BOOL
WINAPI
BaseControlWindowImpl_PossiblyEatMessage
(
BaseWindow
*
This
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
);
HRESULT
WINAPI
BaseControlWindowImpl_QueryInterface
(
IVideoWindow
*
iface
,
REFIID
iid
,
void
**
out
);
ULONG
WINAPI
BaseControlWindowImpl_AddRef
(
IVideoWindow
*
iface
);
ULONG
WINAPI
BaseControlWindowImpl_Release
(
IVideoWindow
*
iface
);
HRESULT
WINAPI
BaseControlWindowImpl_GetTypeInfoCount
(
IVideoWindow
*
iface
,
UINT
*
pctinfo
);
HRESULT
WINAPI
BaseControlWindowImpl_GetTypeInfo
(
IVideoWindow
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
);
HRESULT
WINAPI
BaseControlWindowImpl_GetIDsOfNames
(
IVideoWindow
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
);
...
...
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