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
482c454e
Commit
482c454e
authored
Nov 18, 2009
by
Owen Rudge
Committed by
Alexandre Julliard
Nov 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Fix imagelist v6 test failures on XP.
parent
5ce3af5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
imagelist.c
dlls/comctl32/tests/imagelist.c
+11
-4
No files found.
dlls/comctl32/tests/imagelist.c
View file @
482c454e
...
...
@@ -1490,11 +1490,18 @@ static void DoTest3_v6(void)
ok
(
SUCCEEDED
(
IImageList_Replace
(
imgl
,
2
,
hbm3
,
0
)),
"failed to replace bitmap 3
\n
"
);
memset
(
&
imldp
,
0
,
sizeof
(
imldp
));
ok
(
SUCCEEDED
(
!
IImageList_Draw
(
imgl
,
&
imldp
)),
"zero data succeeded!
\n
"
);
ok
(
FAILED
(
IImageList_Draw
(
imgl
,
&
imldp
)),
"zero data succeeded!
\n
"
);
imldp
.
cbSize
=
sizeof
(
imldp
);
ok
(
SUCCEEDED
(
!
IImageList_Draw
(
imgl
,
&
imldp
)),
"zero hdc succeeded!
\n
"
);
imldp
.
hdcDst
=
hdc
;
ok
(
SUCCEEDED
(
!
IImageList_Draw
(
imgl
,
&
imldp
)),
"zero himl succeeded!
\n
"
);
imldp
.
himl
=
himl
;
if
(
FAILED
(
IImageList_Draw
(
imgl
,
&
imldp
)))
{
/* Earlier versions of native comctl32 use a smaller structure */
imldp
.
cbSize
-=
3
*
sizeof
(
DWORD
);
ok
(
SUCCEEDED
(
IImageList_Draw
(
imgl
,
&
imldp
)),
"should succeed
\n
"
);
}
REDRAW
(
hwndfortest
);
WAIT
;
...
...
@@ -1510,7 +1517,7 @@ static void DoTest3_v6(void)
imldp
.
i
++
;
ok
(
SUCCEEDED
(
IImageList_Draw
(
imgl
,
&
imldp
)),
"should succeed
\n
"
);
imldp
.
i
++
;
ok
(
!
SUCCEED
ED
(
IImageList_Draw
(
imgl
,
&
imldp
)),
"should fail
\n
"
);
ok
(
FAIL
ED
(
IImageList_Draw
(
imgl
,
&
imldp
)),
"should fail
\n
"
);
/* remove three */
ok
(
SUCCEEDED
(
IImageList_Remove
(
imgl
,
0
)),
"removing 1st bitmap
\n
"
);
...
...
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