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

Stefan Leichter Stefan.Leichter at
Thu Jul 30 02:51:36 CDT 2009

While looking for bug 7701 i found that the function __vbaNew2 of the 
MSVBVM60.dll does not like return values from SHGetFileInfoA bigger than 

Checking the return values on windows 2000 an XP
( turned out 
that it is always 1 on success (as long as SHGFI_EXETYPE is not specified).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SHGetFileInfo.diff
Type: text/x-diff
Size: 6025 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list