- Replace TIME type by LARGE_INTEGER in FILE_*_INFORMATION structures.
authorEric Kohl <eric.kohl@reactos.org>
Sat, 6 Nov 2004 13:38:45 +0000 (13:38 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 6 Nov 2004 13:38:45 +0000 (13:38 +0000)
- Make sure that filesystem-specific data and time are converted to/from system time.

svn path=/trunk/; revision=11554

reactos/include/ntos/zwtypes.h

index 2bb5d6d..1e92f65 100755 (executable)
@@ -847,10 +847,10 @@ typedef struct _FILE_END_OF_FILE_INFORMATION
 
 typedef struct _FILE_NETWORK_OPEN_INFORMATION
 {
-       TIME CreationTime;
-       TIME LastAccessTime;
-       TIME LastWriteTime;
-       TIME ChangeTime;
+       LARGE_INTEGER CreationTime;
+       LARGE_INTEGER LastAccessTime;
+       LARGE_INTEGER LastWriteTime;
+       LARGE_INTEGER ChangeTime;
        LARGE_INTEGER AllocationSize;
        LARGE_INTEGER EndOfFile;
        ULONG FileAttributes;
@@ -1037,10 +1037,10 @@ typedef struct _FILE_FS_LABEL_INFORMATION {
 typedef struct _FILE_DIRECTORY_INFORMATION {
        ULONG   NextEntryOffset;
        ULONG   FileIndex;
-       TIME CreationTime;
-       TIME LastAccessTime;
-       TIME LastWriteTime;
-       TIME ChangeTime;
+       LARGE_INTEGER CreationTime;
+       LARGE_INTEGER LastAccessTime;
+       LARGE_INTEGER LastWriteTime;
+       LARGE_INTEGER ChangeTime;
        LARGE_INTEGER EndOfFile;
        LARGE_INTEGER AllocationSize;
        ULONG FileAttributes;
@@ -1051,10 +1051,10 @@ typedef struct _FILE_DIRECTORY_INFORMATION {
 typedef struct _FILE_FULL_DIRECTORY_INFORMATION {
        ULONG   NextEntryOffset;
        ULONG   FileIndex;
-       TIME CreationTime;
-       TIME LastAccessTime;
-       TIME LastWriteTime;
-       TIME ChangeTime;
+       LARGE_INTEGER CreationTime;
+       LARGE_INTEGER LastAccessTime;
+       LARGE_INTEGER LastWriteTime;
+       LARGE_INTEGER ChangeTime;
        LARGE_INTEGER EndOfFile;
        LARGE_INTEGER AllocationSize;
        ULONG FileAttributes;
@@ -1068,12 +1068,12 @@ typedef struct _FILE_FULL_DIRECTORY_INFORMATION {
 typedef struct _FILE_BOTH_DIRECTORY_INFORMATION {
        ULONG           NextEntryOffset;
        ULONG           FileIndex;
-       TIME            CreationTime;
-       TIME            LastAccessTime;
-       TIME            LastWriteTime;
-       TIME            ChangeTime;
-       LARGE_INTEGER   EndOfFile;
-       LARGE_INTEGER   AllocationSize;
+       LARGE_INTEGER   CreationTime;
+       LARGE_INTEGER   LastAccessTime;
+       LARGE_INTEGER   LastWriteTime;
+       LARGE_INTEGER   ChangeTime;
+       LARGE_INTEGER   EndOfFile;
+       LARGE_INTEGER   AllocationSize;
        ULONG           FileAttributes;
        ULONG           FileNameLength;
        ULONG           EaSize;