[shell32]

- Do not use HIMAGELIST_QueryInterface which is exported from vista comctl32. The replacement code is taken from HIMAGELIST_QueryInterface and its fine to use it, as is safe to assume that an HIMAGELIST is a IImageList*
- Allows us to use comctl32 5.82 from win2003 and boot to desktop

svn path=/trunk/; revision=60879
This commit is contained in:
Giannis Adamopoulos 2013-11-07 13:19:23 +00:00
parent 72a70a3bb8
commit 362257a995

View file

@ -2269,7 +2269,9 @@ EXTERN_C HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv)
/* Get the interface for the new image list */
if (hNew)
{
ret = HIMAGELIST_QueryInterface(hNew, riid, ppv);
IImageList *imageList = (IImageList*) hNew;
ret = imageList->QueryInterface(riid, ppv);
ImageList_Destroy(hNew);
}