user32: Accept BI_BITFIELDS format for icons when creating icons
Nikolay Sivov
nsivov at codeweavers.com
Wed Jan 23 13:26:14 CST 2013
Initial problem is that IPicture fails to create and icon from supplied
buffer with CreateIconFromResourceEx() when compression type is set to
BI_BITFIELDS.
It seems to me that it should work with existing code (and it does
create HICON with this patch in fact) - looks like header size and image
size calculation supports BI_BITFIELDS, cause similar code used in some
gdi32 parts too for this compression type.
Anyway please let me know if this change is stupid for some reason.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Accept-BI_BITFIELDS-format-for-icons-when-creating-i.patch
Type: text/x-patch
Size: 987 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130123/ef9615f5/attachment.bin>
More information about the wine-patches
mailing list