mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-04-30 10:47:48 +02:00
SMB_EXT_FILE_ATTR: improved readability
This commit is contained in:
parent
bef9bd6e69
commit
d057d96ab9
1 changed files with 19 additions and 19 deletions
|
@ -8,29 +8,29 @@ namespace SMBLibrary.SMB1
|
|||
[Flags]
|
||||
public enum ExtendedFileAttributes : uint
|
||||
{
|
||||
Readonly = 0x001, // ATTR_READONLY
|
||||
Hidden = 0x0002, // ATTR_HIDDEN
|
||||
System = 0x0004, // ATTR_SYSTEM
|
||||
Directory = 0x0010, // ATTR_DIRECTORY
|
||||
Archive = 0x0020, // ATTR_ARCHIVE
|
||||
Readonly = 0x00000001, // ATTR_READONLY
|
||||
Hidden = 0x00000002, // ATTR_HIDDEN
|
||||
System = 0x00000004, // ATTR_SYSTEM
|
||||
Directory = 0x00000010, // ATTR_DIRECTORY
|
||||
Archive = 0x00000020, // ATTR_ARCHIVE
|
||||
|
||||
/// <summary>
|
||||
/// The file has no other attributes set. This attribute is valid only if used alone.
|
||||
/// </summary>
|
||||
Normal = 0x0080, // ATTR_NORMAL
|
||||
Temporary = 0x0100, // ATTR_TEMPORARY
|
||||
Sparse = 0x0200, // ATTR_SPARSE, SMB 1.0 Addition
|
||||
ReparsePoint = 0x0400, // ATTR_REPARSE_POINT, SMB 1.0 Addition
|
||||
Compressed = 0x0800, // ATTR_COMPRESSED
|
||||
Offline = 0x1000, // ATTR_OFFLINE, SMB 1.0 Addition
|
||||
NotIndexed = 0x2000, // ATTR_NOT_CONTENT_INDEXED, SMB 1.0 Addition
|
||||
Encrypted = 0x4000, // ATTR_ENCRYPTED, SMB 1.0 Addition
|
||||
PosixSemantics = 0x01000000, // POSIX_SEMANTICS
|
||||
Normal = 0x00000080, // ATTR_NORMAL
|
||||
Temporary = 0x00000100, // ATTR_TEMPORARY
|
||||
Sparse = 0x00000200, // ATTR_SPARSE, SMB 1.0 Addition
|
||||
ReparsePoint = 0x00000400, // ATTR_REPARSE_POINT, SMB 1.0 Addition
|
||||
Compressed = 0x00000800, // ATTR_COMPRESSED
|
||||
Offline = 0x00001000, // ATTR_OFFLINE, SMB 1.0 Addition
|
||||
NotIndexed = 0x00002000, // ATTR_NOT_CONTENT_INDEXED, SMB 1.0 Addition
|
||||
Encrypted = 0x00004000, // ATTR_ENCRYPTED, SMB 1.0 Addition
|
||||
PosixSemantics = 0x01000000, // POSIX_SEMANTICS
|
||||
BackupSemantics = 0x02000000, // BACKUP_SEMANTICS
|
||||
DeleteOnClose = 0x04000000, // DELETE_ON_CLOSE
|
||||
SequentialScan = 0x08000000, // SEQUENTIAL_SCAN
|
||||
RandomAccess = 0x10000000, // RANDOM_ACCESS
|
||||
NoBuffering = 0x10000000, // NO_BUFFERING
|
||||
WriteThrough = 0x80000000, // WRITE_THROUGH
|
||||
DeleteOnClose = 0x04000000, // DELETE_ON_CLOSE
|
||||
SequentialScan = 0x08000000, // SEQUENTIAL_SCAN
|
||||
RandomAccess = 0x10000000, // RANDOM_ACCESS
|
||||
NoBuffering = 0x10000000, // NO_BUFFERING
|
||||
WriteThrough = 0x80000000, // WRITE_THROUGH
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue