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
1e9d3ff3
Commit
1e9d3ff3
authored
May 17, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
May 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Fix a test failure in Windows 7 and higher.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6b9bc1bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
filtermapper.c
dlls/quartz/tests/filtermapper.c
+1
-18
No files found.
dlls/quartz/tests/filtermapper.c
View file @
1e9d3ff3
...
...
@@ -668,11 +668,8 @@ static void test_aggregation(void)
static
void
test_dmo
(
void
)
{
DMO_PARTIAL_MEDIATYPE
mt
=
{
MEDIATYPE_Audio
,
MEDIASUBTYPE_PCM
};
IEnumRegFilters
*
enumerator1
;
IEnumMoniker
*
enumerator
;
IFilterMapper3
*
mapper
;
IFilterMapper
*
mapper1
;
REGFILTER
*
regfilter
;
IMoniker
*
moniker
;
WCHAR
*
name
;
HRESULT
hr
;
...
...
@@ -688,8 +685,6 @@ static void test_dmo(void)
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
mapper
=
create_mapper
();
IFilterMapper3_QueryInterface
(
mapper
,
&
IID_IFilterMapper
,
(
void
**
)
&
mapper1
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IFilterMapper3_EnumMatchingFilters
(
mapper
,
&
enumerator
,
0
,
FALSE
,
0
,
FALSE
,
0
,
NULL
,
NULL
,
NULL
,
FALSE
,
FALSE
,
0
,
NULL
,
NULL
,
NULL
);
...
...
@@ -710,20 +705,8 @@ static void test_dmo(void)
IEnumMoniker_Release
(
enumerator
);
ok
(
found
,
"DMO should be enumerated.
\n
"
);
/* DMOs lack a CLSID property and are therefore not enumerated by IFilterMapper. */
hr
=
IFilterMapper_EnumMatchingFilters
(
mapper1
,
&
enumerator1
,
0
,
FALSE
,
GUID_NULL
,
GUID_NULL
,
FALSE
,
FALSE
,
GUID_NULL
,
GUID_NULL
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
while
(
IEnumRegFilters_Next
(
enumerator1
,
1
,
&
regfilter
,
NULL
)
==
S_OK
)
{
ok
(
!
IsEqualGUID
(
&
regfilter
->
Clsid
,
&
testclsid
),
"DMO should not be enumerated.
\n
"
);
ok
(
wcscmp
(
regfilter
->
Name
,
L"dmo test"
),
"DMO should not be enumerated.
\n
"
);
}
IEnumRegFilters_Release
(
enumerator1
);
/* DMOs are enumerated by IFilterMapper in Windows 7 and higher. */
IFilterMapper_Release
(
mapper1
);
ref
=
IFilterMapper3_Release
(
mapper
);
ok
(
!
ref
,
"Got outstanding refcount %d.
\n
"
,
ref
);
...
...
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