shell32/tests: Skip some tests on Win9x and WinMe.

This commit is contained in:
Paul Vriens 2008-11-28 11:40:19 +01:00 committed by Alexandre Julliard
parent cfdfbeaf1b
commit 78a90f1f31
1 changed files with 5 additions and 0 deletions

View File

@ -309,6 +309,11 @@ static void test_get_file_info_iconlist(void)
hSysImageList = (HIMAGELIST) pSHGetFileInfoW((const WCHAR *)pidList, 0,
&shInfow, sizeof(shInfow),
SHGFI_SYSICONINDEX | SHGFI_SMALLICON | SHGFI_PIDL);
if (!hSysImageList)
{
win_skip("SHGetFileInfoW is not implemented\n");
return;
}
ok(hSysImageList != INVALID_HANDLE_VALUE, "Can't get handle for CSIDL_DESKTOP imagelist\n");
todo_wine ok(shInfow.hIcon == 0, "SHGetFileInfoW(CSIDL_DESKTOP, SHGFI_SYSICONINDEX|SHGFI_SMALLICON|SHGFI_PIDL) did not clear hIcon\n");
ok(shInfow.szTypeName[0] == 0, "SHGetFileInfoW(CSIDL_DESKTOP, SHGFI_SYSICONINDEX|SHGFI_SMALLICON|SHGFI_PIDL) did not clear szTypeName[0]\n");