Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
uint16_t lfnLen; Length of the long file name
uint16_t currentSector; The current sector in the current cluster of the file
uint16_t currentOffset; The position in the current sector
uint16_t entry; The position of the file's directory entry in its directory
uint16_t attributes; The file's attributes
uint16_t time; The file's last update time
uint16_t date; The file's last update date
uint8_t timeMs; The file's last update time (ms portion)
char
name[FILEIO_FILE_NAME_LENGTH_8P3_NO_RADIX];
The short name of the file
unsigned writeEnabled : 1; Indicates a file was opened in a mode that allows writes
unsigned readEnabled : 1; Indicates a file was opened in a mode that allows reads
Description
The FILEIO_OBJECT structure is used to hold file information for an open file as it's being modified or accessed. A pointer
to an open file's FILEIO_OBJECT structure will be passed to any library function that will modify that file.
1.7.1.3.14 FILEIO_OPEN_ACCESS_MODES Enumeration
File
fileio_lfn.h
Syntax
typedef enum {
FILEIO_OPEN_READ = 0x01,
FILEIO_OPEN_WRITE = 0x02,
FILEIO_OPEN_CREATE = 0x04,
FILEIO_OPEN_TRUNCATE = 0x08,
FILEIO_OPEN_APPEND = 0x10
} FILEIO_OPEN_ACCESS_MODES;
Members
Members Description
FILEIO_OPEN_READ = 0x01 Open the file for reading.
FILEIO_OPEN_WRITE = 0x02 Open the file for writing.
FILEIO_OPEN_CREATE = 0x04 Create the file if it doesn't exist.
FILEIO_OPEN_TRUNCATE = 0x08 Truncate the file to 0-length.
FILEIO_OPEN_APPEND = 0x10 Set the current read/write location in the file to the end of the
file.
Description
Enumeration for file access modes
1.7.1.3.15 FILEIO_RESULT Enumeration
File
fileio_lfn.h
Syntax
typedef enum {
FILEIO_RESULT_SUCCESS = 0,
FILEIO_RESULT_FAILURE = -1
} FILEIO_RESULT;
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
55
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_fileio.pdf