VERSION_GetLinkedDllVersion bug fix

Ivan Leo Puoti puoti at inwind.it
Mon Dec 13 08:09:29 CST 2004


> I fixed a bug in ntdll's VERSION_GetLinkedDllVersion which caused it to
> not be able to return any Windows version higher than WIN98. It has now been
> extended for WIN2K, WINXP, and WIN2K3. This function would eventually be
> called any time that kernel's GetVersionEx was called, which is a problem
> for any software requiring a version higher than WIN98, like Visual Basic
> .NET.
If MajorSubsystemVersion is 4 then the OS can never be win2k or higher, so your
patch can't be correct.
The attached patch should fix the bug you found. Compile tested only.

Ivan.



____________________________________________________________
Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega, senza costi di attivazione.
Abbonati subito su http://www.libero.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: =?iso-8859-1?Q?wkivcf.diff?=
Type: text/x-patch
Size: 464 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041213/b9c28aa4/iso-8859-1Qwkivcf.bin


More information about the wine-patches mailing list