https://bugs.winehq.org/show_bug.cgi?id=35375
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com --- Hi, Michael.
Please send this, tests look fine.
This part needs to be improved I think:
--- + /* FIXME: This doesn't seem to work properly yet with file names. */ + *icon = LoadImageW(hinst, name, IMAGE_ICON, width, height, 0); + if (*icon) + return S_OK; ---
to use LR_LOADFROMFILE when appropriate.
--- +380 stdcall LoadIconMetric(ptr wstr long ptr) ---
ptr/long give same result in this context, but to match the rest of spec files first arg needs fixing.