5 Feb
2026
5 Feb
'26
10:21 p.m.
On Thu Feb 5 21:49:29 2026 +0000, Brendan Shanks wrote:
I guess I'll defer to whichever way Alexandre wants to go, but even if it works it seems like a bad idea to knowingly give an incorrect length to `CreateIconFromResourceEx` (`dwResSize` is documented as "The size, in bytes, of the set of bits pointed to by the pbIconBits parameter.") Yes, it's the max accessible size, so using `SizeofResource()` would be more correct.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10036#note_128924