Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
96b6f0e1
Commit
96b6f0e1
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 IBasicVideo.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9afc341c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
video.c
dlls/strmbase/video.c
+18
-0
strmbase.h
include/wine/strmbase.h
+3
-0
No files found.
dlls/strmbase/video.c
View file @
96b6f0e1
...
...
@@ -70,6 +70,24 @@ static HRESULT BaseControlVideoImpl_CheckTargetRect(BaseControlVideo *This, RECT
return
S_OK
;
}
HRESULT
WINAPI
BaseControlVideoImpl_QueryInterface
(
IBasicVideo
*
iface
,
REFIID
iid
,
void
**
out
)
{
BaseControlVideo
*
video
=
impl_from_IBasicVideo
(
iface
);
return
IUnknown_QueryInterface
(
video
->
pFilter
->
outer_unk
,
iid
,
out
);
}
ULONG
WINAPI
BaseControlVideoImpl_AddRef
(
IBasicVideo
*
iface
)
{
BaseControlVideo
*
video
=
impl_from_IBasicVideo
(
iface
);
return
IUnknown_AddRef
(
video
->
pFilter
->
outer_unk
);
}
ULONG
WINAPI
BaseControlVideoImpl_Release
(
IBasicVideo
*
iface
)
{
BaseControlVideo
*
video
=
impl_from_IBasicVideo
(
iface
);
return
IUnknown_Release
(
video
->
pFilter
->
outer_unk
);
}
HRESULT
WINAPI
BaseControlVideoImpl_GetTypeInfoCount
(
IBasicVideo
*
iface
,
UINT
*
count
)
{
TRACE
(
"iface %p, count %p.
\n
"
,
iface
,
count
);
...
...
include/wine/strmbase.h
View file @
96b6f0e1
...
...
@@ -517,6 +517,9 @@ typedef struct BaseControlVideoFuncTable {
HRESULT
WINAPI
BaseControlVideo_Init
(
BaseControlVideo
*
pControlVideo
,
const
IBasicVideoVtbl
*
lpVtbl
,
BaseFilter
*
owner
,
CRITICAL_SECTION
*
lock
,
BasePin
*
pPin
,
const
BaseControlVideoFuncTable
*
pFuncsTable
);
HRESULT
WINAPI
BaseControlVideo_Destroy
(
BaseControlVideo
*
pControlVideo
);
HRESULT
WINAPI
BaseControlVideoImpl_QueryInterface
(
IBasicVideo
*
iface
,
REFIID
iid
,
void
**
out
);
ULONG
WINAPI
BaseControlVideoImpl_AddRef
(
IBasicVideo
*
iface
);
ULONG
WINAPI
BaseControlVideoImpl_Release
(
IBasicVideo
*
iface
);
HRESULT
WINAPI
BaseControlVideoImpl_GetTypeInfoCount
(
IBasicVideo
*
iface
,
UINT
*
pctinfo
);
HRESULT
WINAPI
BaseControlVideoImpl_GetTypeInfo
(
IBasicVideo
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
);
HRESULT
WINAPI
BaseControlVideoImpl_GetIDsOfNames
(
IBasicVideo
*
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