xtd 0.2.0
Loading...
Searching...
No Matches
file_attribute.hpp
Go to the documentation of this file.
1
5#pragma once
7#if !defined(__XTD_CORE_NATIVE_LIBRARY__)
8#error "Do not include this file: Internal use only"
9#endif
11
12#include <cstdint>
13
14#if !defined(FILE_ATTRIBUTE_READONLY)
21constexpr int32_t FILE_ATTRIBUTE_READONLY = 0x0001;
28constexpr int32_t FILE_ATTRIBUTE_HIDDEN = 0x0002;
35constexpr int32_t FILE_ATTRIBUTE_SYSTEM = 0x0004;
42constexpr int32_t FILE_ATTRIBUTE_DIRECTORY = 0x0010;
49constexpr int32_t FILE_ATTRIBUTE_ARCHIVE = 0x0020;
56constexpr int32_t FILE_ATTRIBUTE_DEVICE = 0x0040;
63constexpr int32_t FILE_ATTRIBUTE_NORMAL = 0x0080;
70constexpr int32_t FILE_ATTRIBUTE_TEMPORARY = 0x0100;
77constexpr int32_t FILE_ATTRIBUTE_SPARSE_FILE = 0x0200;
84constexpr int32_t FILE_ATTRIBUTE_REPARSE_POINT = 0x0400;
91constexpr int32_t FILE_ATTRIBUTE_COMPRESSED = 0x0800;
98constexpr int32_t FILE_ATTRIBUTE_OFFLINE = 0x1000;
105constexpr int32_t FILE_ATTRIBUTE_NOT_CONTENT_INDEXED = 0x2000;
112constexpr int32_t FILE_ATTRIBUTE_ENCRYPTED = 0x4000;
119constexpr int32_t FILE_ATTRIBUTE_INTEGRITY_STREAM = 0x00008000;
126constexpr int32_t FILE_ATTRIBUTE_VIRTUAL = 0x00010000;
133constexpr int32_t FILE_ATTRIBUTE_NO_SCRUB_DATA = 0x00020000;
140constexpr int32_t FILE_ATTRIBUTE_EA = 0x00040000;
147constexpr int32_t FILE_ATTRIBUTE_PINNED = 0x00080000;
154constexpr int32_t FILE_ATTRIBUTE_UNPINNED = 0x00100000;
161constexpr int32_t FILE_ATTRIBUTE_RECALL_ON_OPEN = 0x00040000;
168constexpr int32_t FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS = 0x00400000;
169#endif
constexpr int32_t FILE_ATTRIBUTE_ENCRYPTED
The file or directory is encrypted. For a file, this means that all data in the file is encrypted....
Definition file_attribute.hpp:112
constexpr int32_t FILE_ATTRIBUTE_HIDDEN
The file is hidden, and thus is not included in an ordinary directory listing.
Definition file_attribute.hpp:28
constexpr int32_t FILE_ATTRIBUTE_PINNED
(Not documented).
Definition file_attribute.hpp:147
constexpr int32_t FILE_ATTRIBUTE_DEVICE
Reserved for future use.
Definition file_attribute.hpp:56
constexpr int32_t FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS
When this attribute is set, it means that the file or directory is not fully present locally....
Definition file_attribute.hpp:168
constexpr int32_t FILE_ATTRIBUTE_ARCHIVE
The file's archive status. Applications use this attribute to mark files for backup or removal.
Definition file_attribute.hpp:49
constexpr int32_t FILE_ATTRIBUTE_NO_SCRUB_DATA
The user data stream not to be read by the background data integrity scanner (AKA scrubber)....
Definition file_attribute.hpp:133
constexpr int32_t FILE_ATTRIBUTE_OFFLINE
The file is offline. The data of the file is not immediately available.
Definition file_attribute.hpp:98
constexpr int32_t FILE_ATTRIBUTE_DIRECTORY
The file is a directory.
Definition file_attribute.hpp:42
constexpr int32_t FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
The file will not be indexed by the operating system's content indexing service.
Definition file_attribute.hpp:105
constexpr int32_t FILE_ATTRIBUTE_EA
(Not documented).
Definition file_attribute.hpp:140
constexpr int32_t FILE_ATTRIBUTE_RECALL_ON_OPEN
This attribute only appears in directory enumeration classes (FILE_DIRECTORY_INFORMATION,...
Definition file_attribute.hpp:161
constexpr int32_t FILE_ATTRIBUTE_INTEGRITY_STREAM
The directory or user data stream is configured with integrity (only supported on ReFS volumes)....
Definition file_attribute.hpp:119
constexpr int32_t FILE_ATTRIBUTE_VIRTUAL
This value is reserved for system use.
Definition file_attribute.hpp:126
constexpr int32_t FILE_ATTRIBUTE_REPARSE_POINT
The file contains a reparse point, which is a block of user-defined data associated with a file or a ...
Definition file_attribute.hpp:84
constexpr int32_t FILE_ATTRIBUTE_NORMAL
The file is normal and has no other attributes set. This attribute is valid only if used alone.
Definition file_attribute.hpp:63
constexpr int32_t FILE_ATTRIBUTE_SPARSE_FILE
The file is a sparse file. Sparse files are typically large files whose data are mostly zeros.
Definition file_attribute.hpp:77
constexpr int32_t FILE_ATTRIBUTE_SYSTEM
The file is a system file. The file is part of the operating system or is used exclusively by the ope...
Definition file_attribute.hpp:35
constexpr int32_t FILE_ATTRIBUTE_COMPRESSED
The file is compressed.
Definition file_attribute.hpp:91
constexpr int32_t FILE_ATTRIBUTE_READONLY
The file is read-only.
Definition file_attribute.hpp:21
constexpr int32_t FILE_ATTRIBUTE_TEMPORARY
The file is temporary. File systems attempt to keep all of the data in memory for quicker access rath...
Definition file_attribute.hpp:70
constexpr int32_t FILE_ATTRIBUTE_UNPINNED
(Not documented).
Definition file_attribute.hpp:154