diff options
-rw-r--r-- | winsup/w32api/ChangeLog | 8 | ||||
-rw-r--r-- | winsup/w32api/include/ddk/ntifs.h | 9 | ||||
-rw-r--r-- | winsup/w32api/include/winnt.h | 7 |
3 files changed, 24 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index a278a87ee..8b6b3aead 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,11 @@ +2009-07-27 Corinna Vinschen <corinna@vinschen.de> + + * include/winnt.h (FILE_SUPPORTS_HARD_LINKS, + FILE_SUPPORTS_EXTENDED_ATTRIBUTES, FILE_SUPPORTS_OPEN_BY_FILE_ID, + FILE_SUPPORTS_USN_JOURNALS): Define. Add comment. + * include/ddk/ntifs.h: Ditto. + (FILE_SEQUENTIAL_WRITE_ONCE, FILE_SUPPORTS_TRANSACTIONS): Define. + 2009-07-21 Corinna Vinschen <corinna@vinschen.de> * lib/msimg32.def (GetDCBrushColor, GetDCPenColor): Move entry points diff --git a/winsup/w32api/include/ddk/ntifs.h b/winsup/w32api/include/ddk/ntifs.h index 42d861f5b..3612777d1 100644 --- a/winsup/w32api/include/ddk/ntifs.h +++ b/winsup/w32api/include/ddk/ntifs.h @@ -136,6 +136,15 @@ extern PACL SeSystemDefaultDacl; #define FILE_SUPPORTS_ENCRYPTION 0x00020000 #define FILE_NAMED_STREAMS 0x00040000 #define FILE_READ_ONLY_VOLUME 0x00080000 +#define FILE_SEQUENTIAL_WRITE_ONCE 0x00100000 +#define FILE_SUPPORTS_TRANSACTIONS 0x00200000 +/* Note: These flags only have a meaning starting with Windows 7/2008 R2. + Their absence on older OSes does NOT mean that a filesystem is missing + that property. */ +#define FILE_SUPPORTS_HARD_LINKS 0x00400000 +#define FILE_SUPPORTS_EXTENDED_ATTRIBUTES 0x00800000 +#define FILE_SUPPORTS_OPEN_BY_FILE_ID 0x01000000 +#define FILE_SUPPORTS_USN_JOURNAL 0x02000000 #define FILE_PIPE_BYTE_STREAM_TYPE 0x00000000 #define FILE_PIPE_MESSAGE_TYPE 0x00000001 diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index a84462f90..8ff2e0fa6 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -380,6 +380,13 @@ typedef DWORD FLONG; #define FILE_READ_ONLY_VOLUME 0x00080000 #define FILE_SEQUENTIAL_WRITE_ONCE 0x00100000 #define FILE_SUPPORTS_TRANSACTIONS 0x00200000 +/* Note: These flags only have a meaning starting with Windows 7/2008 R2. + Their absence on older OSes does NOT mean that a filesystem is missing + that property. */ +#define FILE_SUPPORTS_HARD_LINKS 0x00400000 +#define FILE_SUPPORTS_EXTENDED_ATTRIBUTES 0x00800000 +#define FILE_SUPPORTS_OPEN_BY_FILE_ID 0x01000000 +#define FILE_SUPPORTS_USN_JOURNAL 0x02000000 #define IO_COMPLETION_QUERY_STATE 0x0001 |