FILE_BASIC_INFORMATION is 0x28 bytes and aligned on a 8byte boundary. Thanks to Hartmut for notifying me of a bug

svn path=/trunk/; revision=15082
This commit is contained in:
Alex Ionescu 2005-05-07 15:40:03 +00:00
parent 8e7e661c54
commit 881487dc6c
3 changed files with 6 additions and 0 deletions

View file

@ -92,6 +92,7 @@ typedef VOID (NTAPI *PDRIVER_FS_NOTIFICATION) (
/* STRUCTURE TYPES ***********************************************************/
#include <pshpack8.h>
typedef struct _FILE_BASIC_INFORMATION
{
LARGE_INTEGER CreationTime;
@ -100,6 +101,7 @@ typedef struct _FILE_BASIC_INFORMATION
LARGE_INTEGER ChangeTime;
ULONG FileAttributes;
} FILE_BASIC_INFORMATION, *PFILE_BASIC_INFORMATION;
#include <poppack.h>
typedef struct _FILE_STANDARD_INFORMATION
{

View file

@ -246,6 +246,7 @@ typedef enum _FILE_INFORMATION_CLASS {
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 @@ typedef struct _FILE_BASIC_INFORMATION {
LARGE_INTEGER ChangeTime;
ULONG FileAttributes;
} FILE_BASIC_INFORMATION, *PFILE_BASIC_INFORMATION;
#include <poppack.h>
typedef struct _FILE_STANDARD_INFORMATION {
LARGE_INTEGER AllocationSize;

View file

@ -2159,6 +2159,7 @@ typedef struct _FILE_NAME_INFORMATION {
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 @@ typedef struct _FILE_BASIC_INFORMATION {
LARGE_INTEGER ChangeTime;
ULONG FileAttributes;
} FILE_BASIC_INFORMATION, *PFILE_BASIC_INFORMATION;
#include <poppack.h>
typedef struct _FILE_STANDARD_INFORMATION {
LARGE_INTEGER AllocationSize;