Re: [2/2] shell32: Add proper support for SHGetFileInfo(SHGFI_ICONLOCATION | SHGFI_USEFILEATTRIBUTES).

2007-01-22 Thread Francois Gouget
On Thu, 18 Jan 2007, Frank Richter wrote: > On 18.01.2007 16:23, Francois Gouget wrote: > > +if (dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) > > +{ > > +lstrcpyW(psfi->szDisplayName, swShell32Name); > > +psfi->iIcon = -IDI_SHELL_FOLDER; > >

Re: [2/2] shell32: Add proper support for SHGetFileInfo(SHGFI_ICONLOCATION | SHGFI_USEFILEATTRIBUTES).

2007-01-18 Thread Frank Richter
On 18.01.2007 16:23, Francois Gouget wrote: > +if (dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) > +{ > +lstrcpyW(psfi->szDisplayName, swShell32Name); > +psfi->iIcon = -IDI_SHELL_FOLDER; > +} At least on Windows, folders have a fil