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
0f504a17
Commit
0f504a17
authored
May 20, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
May 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Fix compilation on systems that don't support nameless structs.
parent
71945b76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
filtergraph.c
dlls/quartz/tests/filtergraph.c
+3
-3
filtermapper.c
dlls/quartz/tests/filtermapper.c
+7
-7
No files found.
dlls/quartz/tests/filtergraph.c
View file @
0f504a17
...
...
@@ -1798,8 +1798,8 @@ static void test_render_filter_priority(void)
rgf2
.
dwVersion
=
2
;
rgf2
.
dwMerit
=
MERIT_UNLIKELY
;
S
1
(
U
(
rgf2
)).
cPins2
=
1
;
S
1
(
U
(
rgf2
)).
rgPins2
=
rgPins2
;
S
2
(
U
(
rgf2
)).
cPins2
=
1
;
S
2
(
U
(
rgf2
)).
rgPins2
=
rgPins2
;
rgPins2
[
0
].
dwFlags
=
REG_PINFLAG_B_RENDERER
;
rgPins2
[
0
].
cInstances
=
1
;
rgPins2
[
0
].
nMediaTypes
=
1
;
...
...
@@ -1825,7 +1825,7 @@ static void test_render_filter_priority(void)
&
CLSID_LegacyAmFilterCategory
,
NULL
,
&
rgf2
);
ok
(
hr
==
S_OK
,
"IFilterMapper2_RegisterFilter failed with %x
\n
"
,
hr
);
S
1
(
U
(
rgf2
)).
cPins2
=
2
;
S
2
(
U
(
rgf2
)).
cPins2
=
2
;
rgPins2
[
0
].
dwFlags
=
0
;
rgPinType
[
0
].
clsMinorType
=
&
mediasubtype1
;
...
...
dlls/quartz/tests/filtermapper.c
View file @
0f504a17
...
...
@@ -104,8 +104,8 @@ static void test_fm2_enummatchingfilters(void)
/* Test that a test renderer filter is returned when enumerating filters with bRender=FALSE */
rgf2
.
dwVersion
=
2
;
rgf2
.
dwMerit
=
MERIT_UNLIKELY
;
S
1
(
U
(
rgf2
)).
cPins2
=
1
;
S
1
(
U
(
rgf2
)).
rgPins2
=
rgPins2
;
S
2
(
U
(
rgf2
)).
cPins2
=
1
;
S
2
(
U
(
rgf2
)).
rgPins2
=
rgPins2
;
rgPins2
[
0
].
dwFlags
=
REG_PINFLAG_B_RENDERER
;
rgPins2
[
0
].
cInstances
=
1
;
...
...
@@ -136,7 +136,7 @@ static void test_fm2_enummatchingfilters(void)
rgPins2
[
1
].
lpMedium
=
NULL
;
rgPins2
[
1
].
clsPinCategory
=
NULL
;
S
1
(
U
(
rgf2
)).
cPins2
=
2
;
S
2
(
U
(
rgf2
)).
cPins2
=
2
;
hr
=
IFilterMapper2_RegisterFilter
(
pMapper
,
&
clsidFilter2
,
wszFilterName2
,
NULL
,
&
CLSID_LegacyAmFilterCategory
,
NULL
,
&
rgf2
);
...
...
@@ -418,8 +418,8 @@ static void test_register_filter_with_null_clsMinorType(void)
ZeroMemory
(
&
rgf2
,
sizeof
(
rgf2
));
rgf2
.
dwVersion
=
1
;
rgf2
.
dwMerit
=
MERIT_UNLIKELY
;
S
(
U
(
rgf2
)).
cPins
=
1
;
S
(
U
(
rgf2
)).
rgPins
=
&
rgPins
;
S
1
(
U
(
rgf2
)).
cPins
=
1
;
S
1
(
U
(
rgf2
)).
rgPins
=
&
rgPins
;
rgPins
.
strName
=
wszPinName
;
rgPins
.
bRendered
=
1
;
...
...
@@ -447,8 +447,8 @@ static void test_register_filter_with_null_clsMinorType(void)
ZeroMemory
(
&
rgf2
,
sizeof
(
rgf2
));
rgf2
.
dwVersion
=
2
;
rgf2
.
dwMerit
=
MERIT_UNLIKELY
;
S
1
(
U
(
rgf2
)).
cPins2
=
1
;
S
1
(
U
(
rgf2
)).
rgPins2
=
&
rgPins2
;
S
2
(
U
(
rgf2
)).
cPins2
=
1
;
S
2
(
U
(
rgf2
)).
rgPins2
=
&
rgPins2
;
rgPins2
.
dwFlags
=
REG_PINFLAG_B_RENDERER
;
rgPins2
.
cInstances
=
1
;
...
...
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