[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
This commit is contained in:
Claudiu Mihail 2011-09-03 10:55:51 +00:00
parent 71fb1022d3
commit 833aa3ffef

View file

@ -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;