file attributes [MS-FSCC]

This commit is contained in:
Kelvin Sherlock 2014-09-05 15:45:18 -04:00
parent 519f2c8d0f
commit 35f31cef2d
1 changed files with 20 additions and 0 deletions

20
smb.h
View File

@ -203,6 +203,26 @@ enum {
FILE_TRAVERSE = 0x0020
};
// create file attributes - MS-FSCC
enum {
FILE_ATTRIBUTE_ARCHIVE = 0x0020,
FILE_ATTRIBUTE_COMPRESSED = 0x0800,
FILE_ATTRIBUTE_DIRECTORY = 0x0010,
FILE_ATTRIBUTE_ENCRYPTED = 0x4000,
FILE_ATTRIBUTE_HIDDEN = 0x0002,
FILE_ATTRIBUTE_NORMAL = 0x0080,
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED = 0x2000,
FILE_ATTRIBUTE_OFFLINE = 0x1000,
FILE_ATTRIBUTE_READONLY = 0x0001,
FILE_ATTRIBUTE_REPARSE_POINT = 0x0400,
FILE_ATTRIBUTE_SPARSE_FILE = 0x0200,
FILE_ATTRIBUTE_SYSTEM = 0x0004,
FILE_ATTRIBUTE_TEMPORARY = 0x0100,
FILE_ATTRIBUTE_INTEGRITY_STREAM = 0x8000
};
#define FILE_ATTRIBUTE_NO_SCRUB_DATA 0x00020000