user32: Accept BI_BITFIELDS format for icons when creating icons
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
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...
Size: 987 bytes
Desc: not available
More information about the wine-patches