Module: wine Branch: master Commit: 8d93b9cee893b99d5bff2ea73602e33edc86023e URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d93b9cee893b99d5bff2ea736...
Author: Owen Rudge orudge@codeweavers.com Date: Wed Nov 18 15:33:36 2009 -0600
shell32: Implement support for SHIL_SYSSMALL in SHGetImageList.
---
dlls/shell32/shellord.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c index be601a1..940633e 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;