kernel32: Add tests for SetHandleCount + make tests pass for winversions >WINNT
Juan Lang
juan.lang at gmail.com
Fri Sep 3 10:28:12 CDT 2010
Hi Louis,
> The check is there as the tests show that there is a difference between ver < win98 and ver > WINNT. I don't know if there a are applications that depend on this difference really. Anyway, i could return something like min(65536,count) for all versions, is that ok? (i'll strip out the tests then, as they won't be passing then anymore)
It's true that there is, but I don't think it's all that relevant.
The main raison d'etre for this function is for Win32s, if MSDN is to
be believed, and its function is to work around a default OS
limitation. Since we don't have the same limitation in Wine,
applications can call it or not, but it won't have any effect. Hence
maintaining a version-dependent external behavior, while not behaving
differently internally, doesn't make sense to me.
--Juan
More information about the wine-devel
mailing list