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
a548bef8
Commit
a548bef8
authored
Aug 18, 2023
by
Jeff Smith
Committed by
Alexandre Julliard
Aug 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Add test for mask-only icon with GdipCreateBitmapFromHICON.
parent
159e3465
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
image.c
dlls/gdiplus/tests/image.c
+13
-0
No files found.
dlls/gdiplus/tests/image.c
View file @
a548bef8
...
...
@@ -1612,6 +1612,19 @@ static void test_fromhicon(void)
GdipDisposeImage
((
GpImage
*
)
bitmap
);
DestroyIcon
(
hIcon
);
/* mask-only icon */
info
=
iconinfo_base
;
info
.
hbmMask
=
hbmMask
;
hIcon
=
CreateIconIndirect
(
&
info
);
ok
(
hIcon
!=
0
,
"CreateIconIndirect failed
\n
"
);
stat
=
GdipCreateBitmapFromHICON
(
hIcon
,
&
bitmap
);
todo_wine
expect
(
InvalidParameter
,
stat
);
if
(
stat
==
Ok
)
GdipDisposeImage
((
GpImage
*
)
bitmap
);
DestroyIcon
(
hIcon
);
DeleteObject
(
hbmMask
);
DeleteObject
(
hbmColor
);
...
...
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