From 833aa3ffefccfb7d9b6eb2eb3a901fc1588d53c3 Mon Sep 17 00:00:00 2001 From: Claudiu Mihail Date: Sat, 3 Sep 2011 10:55:51 +0000 Subject: [PATCH] [shell32.dll] - Don't do some parameter checks, even if MSDN says they're incompatible. Winetests with windows 2003 server as reference tells us msdn lies. (Spotted by Victor Martinez) svn path=/branches/shell32_new-bringup/; revision=53541 --- dll/win32/shell32/shell32_main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/dll/win32/shell32/shell32_main.cpp b/dll/win32/shell32/shell32_main.cpp index 9694555836f..005c8b792d0 100644 --- a/dll/win32/shell32/shell32_main.cpp +++ b/dll/win32/shell32/shell32_main.cpp @@ -330,9 +330,6 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes, (flags & SHGFI_PIDL)? "pidl" : debugstr_w(path), dwFileAttributes, psfi, psfi->dwAttributes, sizeofpsfi, flags); - if ( (flags & SHGFI_USEFILEATTRIBUTES) && - (flags & (SHGFI_ATTRIBUTES|SHGFI_EXETYPE|SHGFI_PIDL))) - return FALSE; if (!path) return FALSE;