[Bug 24721] Explorer++ crashes when choosing to view large icons or extra large icons

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 22 02:22:27 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=24721

hanska2 at luukku.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hanska2 at luukku.com

--- Comment #7 from hanska2 at luukku.com ---
http://source.winehq.org/git/wine.git/blob/8d93b9cee893b99d5bff2ea73602e33edc86023e:/dlls/shell32/shellord.c#l2178

2177 /*************************************************************************
2178 * SHGetImageList (SHELL32.727)
2179 *
2180 * Returns a copy of a shell image list.
2181 *
2182 * NOTES
2183 * Windows XP features 4 sizes of image list, and Vista 5. Wine currently
2184 * only supports the traditional small and large image lists, so requests
2185 * for the others will currently fail.
2186 */
2187 HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv)
2188 {
2189 HIMAGELIST hLarge, hSmall;
2190 HIMAGELIST hNew;
2191 HRESULT ret = E_FAIL;
2192
2193 /* Wine currently only maintains large and small image lists */
2194 if ((iImageList != SHIL_LARGE) && (iImageList != SHIL_SMALL) &&
(iImageList != SHIL_SYSSMALL))
2195 {
2196 FIXME("Unsupported image list %i requested\n", iImageList);
2197 return E_FAIL;
2198 }
2199
2200 Shell_GetImageList(&hLarge, &hSmall);
2201 hNew = ImageList_Duplicate(iImageList == SHIL_LARGE ? hLarge : hSmall);
2202
2203 /* Get the interface for the new image list */
2204 if (hNew)
2205 {
2206 ret = HIMAGELIST_QueryInterface(hNew, riid, ppv);
2207 ImageList_Destroy(hNew);
2208 }
2209
2210 return ret;
2211 }

so the issue must still be 1.7.22

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list