FILE_BASIC_INFORMATION is 0x28 bytes and aligned on a 8byte boundary.
Thanks to Hartmut for notifying me of a bug
Modified: trunk/reactos/include/ddk/iotypes.h
Modified: trunk/reactos/include/wine/winternl.h
Modified: trunk/reactos/w32api/include/ddk/winddk.h
_____
Modified: trunk/reactos/include/ddk/iotypes.h
--- trunk/reactos/include/ddk/iotypes.h 2005-05-07 15:31:07 UTC (rev
15081)
+++ trunk/reactos/include/ddk/iotypes.h 2005-05-07 15:40:03 UTC (rev
15082)
@@ -92,6 +92,7 @@
/* STRUCTURE TYPES
***********************************************************/
+#include <pshpack8.h>
typedef struct _FILE_BASIC_INFORMATION
{
LARGE_INTEGER CreationTime;
@@ -100,6 +101,7 @@
LARGE_INTEGER ChangeTime;
ULONG FileAttributes;
} FILE_BASIC_INFORMATION, *PFILE_BASIC_INFORMATION;
+#include <poppack.h>
typedef struct _FILE_STANDARD_INFORMATION
{
_____
Modified: trunk/reactos/include/wine/winternl.h
--- trunk/reactos/include/wine/winternl.h 2005-05-07 15:31:07 UTC
(rev 15081)
+++ trunk/reactos/include/wine/winternl.h 2005-05-07 15:40:03 UTC
(rev 15082)
@@ -246,6 +246,7 @@
FileMaximumInformation
} FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
+#include <pshpack8.h>
typedef struct _FILE_BASIC_INFORMATION {
LARGE_INTEGER CreationTime;
LARGE_INTEGER LastAccessTime;
@@ -253,6 +254,7 @@
LARGE_INTEGER ChangeTime;
ULONG FileAttributes;
} FILE_BASIC_INFORMATION, *PFILE_BASIC_INFORMATION;
+#include <poppack.h>
typedef struct _FILE_STANDARD_INFORMATION {
LARGE_INTEGER AllocationSize;
_____
Modified: trunk/reactos/w32api/include/ddk/winddk.h
--- trunk/reactos/w32api/include/ddk/winddk.h 2005-05-07 15:31:07 UTC
(rev 15081)
+++ trunk/reactos/w32api/include/ddk/winddk.h 2005-05-07 15:40:03 UTC
(rev 15082)
@@ -2159,6 +2159,7 @@
WCHAR FileName[1];
} FILE_NAME_INFORMATION, *PFILE_NAME_INFORMATION;
+#include <pshpack8.h>
typedef struct _FILE_BASIC_INFORMATION {
LARGE_INTEGER CreationTime;
LARGE_INTEGER LastAccessTime;
@@ -2166,6 +2167,7 @@
LARGE_INTEGER ChangeTime;
ULONG FileAttributes;
} FILE_BASIC_INFORMATION, *PFILE_BASIC_INFORMATION;
+#include <poppack.h>
typedef struct _FILE_STANDARD_INFORMATION {
LARGE_INTEGER AllocationSize;
Show replies by date