# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# MLA -- File I/O Library

- 1
- 2
…
- 47
- 48
- 49
- 50
- 51
…
- 82
- 83

uint8_t timeMs;
} FILEIO_TIMESTAMP;
Members
Members Description
FILEIO_DATE date; The create or write date of the file/directory.
FILEIO_TIME time; The create of write time of the file/directory.
uint8_t timeMs; The millisecond portion of the time.
Description
Structure to describe the time fields of a file
1.7.1.3.5 FILEIO_ATTRIBUTES Enumeration
File
fileio_lfn.h
Syntax
typedef enum {
FILEIO_ATTRIBUTE_READ_ONLY = 0x01,
FILEIO_ATTRIBUTE_HIDDEN = 0x02,
FILEIO_ATTRIBUTE_SYSTEM = 0x04,
FILEIO_ATTRIBUTE_VOLUME = 0x08,
FILEIO_ATTRIBUTE_LONG_NAME = 0x0F,
FILEIO_ATTRIBUTE_DIRECTORY = 0x10,
FILEIO_ATTRIBUTE_ARCHIVE = 0x20,
FILEIO_ATTRIBUTE_MASK = 0x3F
} FILEIO_ATTRIBUTES;
Members
Members Description
FILEIO_ATTRIBUTE_READ_ONLY = 0x01 Read-only attribute. A file with this attribute should not be
written to.
FILEIO_ATTRIBUTE_HIDDEN = 0x02 Hidden attribute. A file with this attribute may be hidden from
the user.
FILEIO_ATTRIBUTE_SYSTEM = 0x04 System attribute. A file with this attribute is used by the
operating system and should not be modified.
FILEIO_ATTRIBUTE_VOLUME = 0x08 Volume attribute. If the first file in the root directory of a
volume has this attribute, the entry name is the volume name.
FILEIO_ATTRIBUTE_LONG_NAME = 0x0F A file entry with this attribute mask is used to store part of the
file's Long File Name.
FILEIO_ATTRIBUTE_DIRECTORY = 0x10 A file entry with this attribute points to a directory.
FILEIO_ATTRIBUTE_ARCHIVE = 0x20 Archive attribute. A file with this attribute should be archived.
FILEIO_ATTRIBUTE_MASK = 0x3F Mask for all attributes.
Description
Enumeration defining standard attributes used by FAT file systems
1.7.1.3.6 FILEIO_DRIVE_ERRORS Enumeration
File
fileio_lfn.h
Syntax
typedef enum {
FILEIO_GET_PROPERTIES_NO_ERRORS = 0,
FILEIO_GET_PROPERTIES_CACHE_ERROR,
FILEIO_GET_PROPERTIES_DRIVE_NOT_MOUNTED,
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
49

- 1
- 2
…
- 47
- 48
- 49
- 50
- 51
…
- 82
- 83