[NtQuerySystemInformation #7] SystemTimeOfDayInformation (RESEND)
Paul Vriens
Paul.Vriens at xs4all.nl
Sat Jun 11 10:49:00 CDT 2005
Hi,
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).
Changelog
Fixed size of our SYSTEM_TIMEOFDAY_INFORMATION struct
Fixed return codes and ReturnLength/buffer for SystemTimeOfDayInformation
Added tests for SystemTimeOfDayInformation
Cheers,
Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NtQuery_7.diff
Type: text/x-patch
Size: 8960 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050611/d92f2050/NtQuery_7.bin
More information about the wine-patches
mailing list