Zhiyi Zhang (@zhiyi) commented about dlls/shell32/iconcache.c:
sii->iIcon = -IDI_SHELL_FILE; lstrcatW(sii->szPath, L"\\shell32.dll");
- if (flags)
FIXME("flags 0x%x not implemented\n", flags);
if (flags & ~SHGSI_ICON)
FIXME("unhandled flags 0x%x\n", flags);
sii->hIcon = NULL; if (flags & SHGSI_ICON)
sii->hIcon = LoadIconW(GetModuleHandleW(sii->szPath), MAKEINTRESOURCEW(sii->iIcon));
sii->iSysImageIndex = -1;sii->hIcon = LoadIconW(GetModuleHandleW(sii->szPath), MAKEINTRESOURCEW(stock_icon_id_to_resource_id(id)));
Could you add some tests for SHGetStockIconInfo() regarding this change?