Re: Implement NtQuerySystemInformation(SystemTimeOfDayInformation)

2005-05-18 Thread Felix Nawothnig
Rein Klazes wrote: Reading the comment again, I think you are mistaken: the "actual" bias is not tzi.Bias but either tzi.Bias + tzi.StandardBias or tzi.Bias + tzi.DaylightBias. If the flag is set, tzi.DaylightBias is zero, that is how the "actual" bias takes the disabled DST correction into account

Re: Implement NtQuerySystemInformation(SystemTimeOfDayInformation)

2005-05-18 Thread Rein Klazes
On Wed, 18 May 2005 21:15:05 +0200, you wrote: > Rein Klazes wrote: > > On Tue, 17 May 2005 23:06:51 +0200, you wrote: > >>+RtlSystemTimeToLocalTime(&sys_time, &local_time); > >>+/* liExpTimeZoneBias is not the same as tzi.Bias since it > >>takes > >>+

Re: Implement NtQuerySystemInformation(SystemTimeOfDayInformation)

2005-05-18 Thread Felix Nawothnig
Rein Klazes wrote: On Tue, 17 May 2005 23:06:51 +0200, you wrote: +RtlSystemTimeToLocalTime(&sys_time, &local_time); +/* liExpTimeZoneBias is not the same as tzi.Bias since it takes + * disabled DST correction into account (tested on WinXP). */ +

Re: Implement NtQuerySystemInformation(SystemTimeOfDayInformation)

2005-05-18 Thread Rein Klazes
On Tue, 17 May 2005 23:06:51 +0200, you wrote: > +RtlSystemTimeToLocalTime(&sys_time, &local_time); > +/* liExpTimeZoneBias is not the same as tzi.Bias since it > takes > + * disabled DST correction into account (tested on WinXP). */ > +