aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-07-27 11:40:26 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-07-27 11:40:26 +0000
commit5e2b7ea9490595b8535189af2451a1b8e841ddba (patch)
tree6a930e08356fc14fc26522b6ad99abcd11d6e7f6 /winsup/w32api
parent8171ddb73f8becbebf7d8be134871f1c2ff440bf (diff)
downloadnewlib-5e2b7ea9490595b8535189af2451a1b8e841ddba.zip
newlib-5e2b7ea9490595b8535189af2451a1b8e841ddba.tar.gz
newlib-5e2b7ea9490595b8535189af2451a1b8e841ddba.tar.bz2
* 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.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog8
-rw-r--r--winsup/w32api/include/ddk/ntifs.h9
-rw-r--r--winsup/w32api/include/winnt.h7
3 files changed, 24 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index a278a87..8b6b3ae 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 42d861f..3612777 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 a84462f..8ff2e0f 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