file_attribute


This structure contains attributes assigned when opening a file. The following enumerators are defined within the scope of the structure file_attribute.

read_only The file is read only.
hidden The file is hidden.
system The file is marked as a system file.
directory The file is a directory.
archive The file has the archive bit set.
encrypted The file is encrypted.
normal The file is a normal file.
temporary The file is a temporary file.
sparse The file is sparsely allocated.
compressed The file is compressed.
offline The file resides in offline storage.

Notes

The attribute file_attribute::normal is overridden by all other attributes.