Paul Vriens Paul.Vriens@xs4all.nl writes:
just found at that the behavior of NT and W2K/WinXP differ a lot for SystemTimeOfDayInformation.
The struct for NT is 32 Bytes compared to 48 for the others. Apart from that returncodes etc.. are totally different.
The included test explains (some of) the differences.
The test now also caters for all the above mentioned versions, as does nt.c (that means setting the wine version to nt4 produces the correct results).
nt.c now has a hard coded value for the size of the struct for NT (32).
You should not do that kind of version-dependent code unless there is an app that requires it. Otherwise just implement the XP behavior, which should be backwards compatible anyway.