advpack: Fix major GetVersionFromFile issues

James Hawkins truiken at
Mon Nov 28 23:50:15 CST 2005


* Returned versions are always initialized to zero, even on failure.
* Function always returns S_OK, even on failure.
* Copy the file to the temp directory if the file exists but isn't
found by GetFileVersionInfoSize.
* If bVersion is FALSE, return the language and code page identifiers
of the file, not the system.

James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getversion-fixes.diff
Type: text/x-patch
Size: 3917 bytes
Desc: not available
Url :

More information about the wine-patches mailing list