Re: Another one from last night: fix for dlls/kernel/tests/time.c on Windows 98

2005-03-22 Thread Alexandre Julliard
Jakob Eriksson [EMAIL PROTECTED] writes: +/* Windows 98 is a bit broken around these parts, it doesn't return FALSE as it should. */ +/* If the resulting time is about 1 AD, I consider the result invalid. */ +ret = DosDateTimeToFileTime(0,0,ft); +years =

Re: Another one from last night: fix for dlls/kernel/tests/time.c on Windows 98

2005-03-22 Thread Jakob Eriksson
Alexandre Julliard wrote: Jakob Eriksson [EMAIL PROTECTED] writes: +/* Windows 98 is a bit broken around these parts, it doesn't return FALSE as it should. */ +/* If the resulting time is about 1 AD, I consider the result invalid. */ +ret = DosDateTimeToFileTime(0,0,ft); +

Re: Another one from last night: fix for dlls/kernel/tests/time.c on Windows 98

2005-03-22 Thread Alexandre Julliard
Jakob Eriksson [EMAIL PROTECTED] writes: I may be totally long but this is what I figured: the low parts unit is 10 nanoseconds. So one full dwLowDateTime is 2^32 10 nanoseconds, which is 120 hours. I think you are off by a factor of 1000 (and the unit is 100 nanoseconds BTW). Or maybe