diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-03-05 08:05:20 +0300 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-03-05 08:05:20 +0300 |
commit | 213bc4f21555f6f68c8a1a4e1e994c725fd37406 (patch) | |
tree | 00ab1b0ab7e6ae3b3cc6115bf43d1d1bb7c8f2ba /winsup/w32api | |
parent | 09ba620e3fe3f6b5b0fadbb4e2f8a77704ba5128 (diff) |
2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (FILE_ENCRYPTABLE, FILE_IS_ENCRYPTED, FILE_READ_ONLY,
FILE_ROOT_DIR, FILE_SYSTEM_ATTR, FILE_SYSTEM_DIR, FILE_SYSTEM_NOT_SUPPORT,
FILE_UNKNOWN, FILE_USER_DISALLOWED): Define.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/winbase.h | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 8709d105d..a7b588752 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,5 +1,11 @@ 2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> + * include/winbase.h (FILE_ENCRYPTABLE, FILE_IS_ENCRYPTED, FILE_READ_ONLY, + FILE_ROOT_DIR, FILE_SYSTEM_ATTR, FILE_SYSTEM_DIR, FILE_SYSTEM_NOT_SUPPORT, + FILE_UNKNOWN, FILE_USER_DISALLOWED): Define. + +2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> + * include/winioctl.h (_DRIVE_LAYOUT_INFORMATION_MBR): Add _DRIVE_LAYOUT_INFORMATION_MBR_DEFINED guard. * include/ddk/winddk.h (_DRIVE_LAYOUT_INFORMATION_MBR): Ditto. diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index dfe2aa15d..bcca1b7cb 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -258,6 +258,15 @@ extern "C" { #define FILE_TYPE_CHAR 2 #define FILE_TYPE_PIPE 3 #define FILE_TYPE_REMOTE 0x8000 +#define FILE_ENCRYPTABLE 0 +#define FILE_IS_ENCRYPTED 1 +#define FILE_READ_ONLY 8 +#define FILE_ROOT_DIR 3 +#define FILE_SYSTEM_ATTR 2 +#define FILE_SYSTEM_DIR 4 +#define FILE_SYSTEM_NOT_SUPPORT 6 +#define FILE_UNKNOWN 5 +#define FILE_USER_DISALLOWED 7 /* also in ddk/ntapi.h */ #define HANDLE_FLAG_INHERIT 0x01 #define HANDLE_FLAG_PROTECT_FROM_CLOSE 0x02 |