// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; namespace SharpDX.IO { /// /// Native file attributes. /// [Flags] public enum NativeFileOptions : uint { /// /// None attribute. /// None = 0x00000000, /// /// Read only attribute. /// Readonly = 0x00000001, /// /// Hidden attribute. /// Hidden = 0x00000002, /// /// System attribute. /// System = 0x00000004, /// /// Directory attribute. /// Directory = 0x00000010, /// /// Archive attribute. /// Archive = 0x00000020, /// /// Device attribute. /// Device = 0x00000040, /// /// Normal attribute. /// Normal = 0x00000080, /// /// Temporary attribute. /// Temporary = 0x00000100, /// /// Sparse file attribute. /// SparseFile = 0x00000200, /// /// ReparsePoint attribute. /// ReparsePoint = 0x00000400, /// /// Compressed attribute. /// Compressed = 0x00000800, /// /// Offline attribute. /// Offline = 0x00001000, /// /// Not content indexed attribute. /// NotContentIndexed = 0x00002000, /// /// Encrypted attribute. /// Encrypted = 0x00004000, /// /// Write through attribute. /// Write_Through = 0x80000000, /// /// Overlapped attribute. /// Overlapped = 0x40000000, /// /// No buffering attribute. /// NoBuffering = 0x20000000, /// /// Random access attribute. /// RandomAccess = 0x10000000, /// /// Sequential scan attribute. /// SequentialScan = 0x08000000, /// /// Delete on close attribute. /// DeleteOnClose = 0x04000000, /// /// Backup semantics attribute. /// BackupSemantics = 0x02000000, /// /// Post semantics attribute. /// PosixSemantics = 0x01000000, /// /// Open reparse point attribute. /// OpenReparsePoint = 0x00200000, /// /// Open no recall attribute. /// OpenNoRecall = 0x00100000, /// /// First pipe instance attribute. /// FirstPipeInstance = 0x00080000 } }