On 2014-10-15 22:23, pschweit...@svn.reactos.org wrote:
> +/* See:
> + -> http://msdn.microsoft.com/en-us/library/ms724228
> + -> http://bos.asmhackers.net/docs/filesystems/ntfs/standard.html#layout
> + */
> +VOID
> +NtfsDateTimeToFileTime(ULONGLONG NtfsTime,
> +                       PLARGE_INTEGER SystemTime)
> +{
> +
> +    SystemTime->QuadPart = NtfsTime + 116444736000000000;
> +}

Doesn't NTFS use FILETIME directly? I thought that's the reason it's
called "file time" in the first place. ;)
Wikipedia says
"Date range: 1 January 1601 – 28 May 60056 (File times are 64-bit
 numbers counting 100-nanosecond intervals (ten million per second)
 since 1601, which is 58,000+ years)"
and your link doesn't seem to disagree.

_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to