https://bugs.winehq.org/show_bug.cgi?id=47076
--- Comment #3 from nikolaysemenkov@gmail.com --- To be clear, below is the code to reproduce the bug. The icon details were specified in previous message. The code to see the bug:
LoadImage(HInstance, MAKEINTRESOURCE(iIconLarge), IMAGE_ICON, 32, 32, LR_DEFAULTCOLOR | LR_SHARED); HICON hIconTest = (HICON)LoadImage(HInstance, MAKEINTRESOURCE(iIconLarge), IMAGE_ICON, 0, 0, LR_DEFAULTCOLOR | LR_SHARED);
// Get info ICONINFO iconInfo; if (GetIconInfo(hIconTest, &iconInfo)) { BITMAP BMInf; GetObject(iconInfo.hbmColor, sizeof(BMInf), &BMInf); printf("xxxxxxxxxxxxxxx result: %d %d", BMInf.bmWidth, BMInf.bmHeight); return;
}
On windows result for a 16x16 icon is 16x16. On wine the result is 32x32