Make the tests of the value returned from function SHGetFileInfoA more strick, fix wine to pass the tests (2nd)

Stefan Leichter Stefan.Leichter at camline.com
Tue Aug 4 15:52:09 CDT 2009


Am Tuesday 04 August 2009 18:14:47 schrieb Alexandre Julliard:
> Stefan Leichter <Stefan.Leichter at camline.com> writes:
> > While looking for bug 7701 i found that the function __vbaNew2 of the
> > MSVBVM60.dll does not like return values from SHGetFileInfoA bigger than
> > 0x7fff.
> >
> > Checking the return values on windows 2000 an XP
> > (http://www.winehq.org/pipermail/wine-devel/2009-July/077589.html) turned
> > out that it is always 1 on success (as long as SHGFI_EXETYPE is not
> > specified).
>
> You need to take SHGFI_SYSICONINDEX into account too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SHGetFileInfo.diff
Type: text/x-diff
Size: 7613 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090804/c1f76f5f/attachment-0001.diff>


More information about the wine-patches mailing list