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
2a1cc433
Commit
2a1cc433
authored
Sep 26, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Sep 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/filesource: Don't expose IAMFilterMiscFlags.
This reverts
9dedc4a7
. Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
835a9a81
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
38 deletions
+0
-38
filesource.c
dlls/quartz/filesource.c
+0
-37
filesource.c
dlls/quartz/tests/filesource.c
+0
-1
No files found.
dlls/quartz/filesource.c
View file @
2a1cc433
...
...
@@ -41,7 +41,6 @@ typedef struct AsyncReader
{
BaseFilter
filter
;
IFileSourceFilter
IFileSourceFilter_iface
;
IAMFilterMiscFlags
IAMFilterMiscFlags_iface
;
IPin
*
pOutputPin
;
LPOLESTR
pszFileName
;
...
...
@@ -63,15 +62,9 @@ static inline AsyncReader *impl_from_IFileSourceFilter(IFileSourceFilter *iface)
return
CONTAINING_RECORD
(
iface
,
AsyncReader
,
IFileSourceFilter_iface
);
}
static
inline
AsyncReader
*
impl_from_IAMFilterMiscFlags
(
IAMFilterMiscFlags
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
AsyncReader
,
IAMFilterMiscFlags_iface
);
}
static
const
IBaseFilterVtbl
AsyncReader_Vtbl
;
static
const
IFileSourceFilterVtbl
FileSource_Vtbl
;
static
const
IAsyncReaderVtbl
FileAsyncReader_Vtbl
;
static
const
IAMFilterMiscFlagsVtbl
IAMFilterMiscFlags_Vtbl
;
static
HRESULT
FileAsyncReader_Construct
(
HANDLE
hFile
,
IBaseFilter
*
pBaseFilter
,
LPCRITICAL_SECTION
pCritSec
,
IPin
**
ppPin
);
...
...
@@ -432,7 +425,6 @@ HRESULT AsyncReader_create(IUnknown * pUnkOuter, LPVOID * ppv)
BaseFilter_Init
(
&
pAsyncRead
->
filter
,
&
AsyncReader_Vtbl
,
&
CLSID_AsyncReader
,
(
DWORD_PTR
)(
__FILE__
": AsyncReader.csFilter"
),
&
BaseFuncTable
);
pAsyncRead
->
IFileSourceFilter_iface
.
lpVtbl
=
&
FileSource_Vtbl
;
pAsyncRead
->
IAMFilterMiscFlags_iface
.
lpVtbl
=
&
IAMFilterMiscFlags_Vtbl
;
pAsyncRead
->
pOutputPin
=
NULL
;
pAsyncRead
->
pszFileName
=
NULL
;
...
...
@@ -465,8 +457,6 @@ static HRESULT WINAPI AsyncReader_QueryInterface(IBaseFilter * iface, REFIID rii
*
ppv
=
&
This
->
filter
.
IBaseFilter_iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IFileSourceFilter
))
*
ppv
=
&
This
->
IFileSourceFilter_iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IAMFilterMiscFlags
))
*
ppv
=
&
This
->
IAMFilterMiscFlags_iface
;
if
(
*
ppv
)
{
...
...
@@ -1412,30 +1402,3 @@ static const IAsyncReaderVtbl FileAsyncReader_Vtbl =
FileAsyncReader_BeginFlush
,
FileAsyncReader_EndFlush
,
};
static
HRESULT
WINAPI
AMFilterMiscFlags_QueryInterface
(
IAMFilterMiscFlags
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
AsyncReader
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
return
IBaseFilter_QueryInterface
(
&
This
->
filter
.
IBaseFilter_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
AMFilterMiscFlags_AddRef
(
IAMFilterMiscFlags
*
iface
)
{
AsyncReader
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
return
IBaseFilter_AddRef
(
&
This
->
filter
.
IBaseFilter_iface
);
}
static
ULONG
WINAPI
AMFilterMiscFlags_Release
(
IAMFilterMiscFlags
*
iface
)
{
AsyncReader
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
return
IBaseFilter_Release
(
&
This
->
filter
.
IBaseFilter_iface
);
}
static
ULONG
WINAPI
AMFilterMiscFlags_GetMiscFlags
(
IAMFilterMiscFlags
*
iface
)
{
return
AM_FILTER_MISC_FLAGS_IS_SOURCE
;
}
static
const
IAMFilterMiscFlagsVtbl
IAMFilterMiscFlags_Vtbl
=
{
AMFilterMiscFlags_QueryInterface
,
AMFilterMiscFlags_AddRef
,
AMFilterMiscFlags_Release
,
AMFilterMiscFlags_GetMiscFlags
};
dlls/quartz/tests/filesource.c
View file @
2a1cc433
...
...
@@ -54,7 +54,6 @@ static void test_interfaces(void)
check_interface
(
filter
,
&
IID_IBaseFilter
,
TRUE
);
check_interface
(
filter
,
&
IID_IFileSourceFilter
,
TRUE
);
todo_wine
check_interface
(
filter
,
&
IID_IAMFilterMiscFlags
,
FALSE
);
check_interface
(
filter
,
&
IID_IBasicAudio
,
FALSE
);
check_interface
(
filter
,
&
IID_IBasicVideo
,
FALSE
);
...
...
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