[NTFS]
[reactos.git] / reactos / drivers / filesystems / ntfs / misc.c
index 11ce46b..c365f03 100644 (file)
@@ -97,4 +97,16 @@ NtfsAllocateIrpContext(PDEVICE_OBJECT DeviceObject,
     return IrpContext;
 }
 
+/* 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;
+}
+
 /* EOF */