Author: gadamopoulos
Date: Thu Nov  7 13:19:23 2013
New Revision: 60879

URL: http://svn.reactos.org/svn/reactos?rev=60879&view=rev
Log:
[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

Modified:
    trunk/reactos/dll/win32/shell32/shellord.cpp

Modified: trunk/reactos/dll/win32/shell32/shellord.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shellord.cpp?rev=60879&r1=60878&r2=60879&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shellord.cpp        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shellord.cpp        [iso-8859-1] Thu Nov  7 
13:19:23 2013
@@ -2269,7 +2269,9 @@
     /* 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);
     }
 


Reply via email to