From 8d93b9cee893b99d5bff2ea73602e33edc86023e Mon Sep 17 00:00:00 2001 From: Owen Rudge Date: Wed, 18 Nov 2009 15:33:36 -0600 Subject: [PATCH] shell32: Implement support for SHIL_SYSSMALL in SHGetImageList. --- dlls/shell32/shellord.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c index be601a1857..940633e59d 100644 --- a/dlls/shell32/shellord.c +++ b/dlls/shell32/shellord.c @@ -2181,7 +2181,8 @@ void WINAPI SHFlushSFCache(void) * * NOTES * Windows XP features 4 sizes of image list, and Vista 5. Wine currently - * only supports 2, so requests for the others will currently fail. + * only supports the traditional small and large image lists, so requests + * for the others will currently fail. */ HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv) { @@ -2190,7 +2191,7 @@ HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv) HRESULT ret = E_FAIL; /* Wine currently only maintains large and small image lists */ - if ((iImageList != SHIL_LARGE) && (iImageList != SHIL_SMALL)) + if ((iImageList != SHIL_LARGE) && (iImageList != SHIL_SMALL) && (iImageList != SHIL_SYSSMALL)) { FIXME("Unsupported image list %i requested\n", iImageList); return E_FAIL;