mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:12:58 +00:00
[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:
parent
71fb1022d3
commit
833aa3ffef
1 changed files with 0 additions and 3 deletions
|
@ -330,9 +330,6 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes,
|
||||||
(flags & SHGFI_PIDL)? "pidl" : debugstr_w(path), dwFileAttributes,
|
(flags & SHGFI_PIDL)? "pidl" : debugstr_w(path), dwFileAttributes,
|
||||||
psfi, psfi->dwAttributes, sizeofpsfi, flags);
|
psfi, psfi->dwAttributes, sizeofpsfi, flags);
|
||||||
|
|
||||||
if ( (flags & SHGFI_USEFILEATTRIBUTES) &&
|
|
||||||
(flags & (SHGFI_ATTRIBUTES|SHGFI_EXETYPE|SHGFI_PIDL)))
|
|
||||||
return FALSE;
|
|
||||||
if (!path)
|
if (!path)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue