[SHELL32]
authorChristoph von Wittich <christoph_vw@reactos.org>
Tue, 17 Mar 2015 15:14:13 +0000 (15:14 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Tue, 17 Mar 2015 15:14:13 +0000 (15:14 +0000)
use 16x16 icons instead of scaled down 32x32 icons in openwithmenu
CORE-9379

svn path=/trunk/; revision=66755

reactos/dll/win32/shell32/COpenWithMenu.cpp

index 227ea3c..8e141e8 100644 (file)
@@ -211,7 +211,7 @@ HICON COpenWithList::GetIcon(SApp *pApp)
         WCHAR wszPath[MAX_PATH];
 
         GetPathFromCmd(wszPath, pApp->wszCmd);
         WCHAR wszPath[MAX_PATH];
 
         GetPathFromCmd(wszPath, pApp->wszCmd);
-        pApp->hIcon = ExtractIconW(shell32_hInstance, wszPath, 0);
+        ExtractIconExW(wszPath, 0, NULL, &pApp->hIcon, 1);
     }
 
     TRACE("%ls icon: %p\n", pApp->wszFilename, pApp->hIcon);
     }
 
     TRACE("%ls icon: %p\n", pApp->wszFilename, pApp->hIcon);