# 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
…
- 48
- 49
- 50
- 51
- 52
…
- 82
- 83

FILEIO_GET_PROPERTIES_CLUSTER_FAILURE,
FILEIO_GET_PROPERTIES_STILL_WORKING = 0xFF
} FILEIO_DRIVE_ERRORS;
Description
Possible results of the FSGetDiskProperties() function.
1.7.1.3.7 FILEIO_DRIVE_PROPERTIES Structure
File
fileio_lfn.h
Syntax
typedef struct {
char disk;
bool new_request;
FILEIO_DRIVE_ERRORS properties_status;
struct {
uint8_t disk_format;
uint16_t sector_size;
uint8_t sectors_per_cluster;
uint32_t total_clusters;
uint32_t free_clusters;
} results;
struct {
uint32_t c;
uint32_t curcls;
uint32_t EndClusterLimit;
uint32_t ClusterFailValue;
} private;
} FILEIO_DRIVE_PROPERTIES;
Members
Members Description
char disk; pointer to the disk we are searching
bool new_request; is this a new request or a continued request
FILEIO_DRIVE_ERRORS properties_status; status of the last call of the function
struct {
uint8_t disk_format;
uint16_t sector_size;
uint8_t sectors_per_cluster;
uint32_t total_clusters;
uint32_t free_clusters;
} results;
the results of the current search
uint8_t disk_format; disk format: FAT12, FAT16, FAT32
uint16_t sector_size; sector size of the drive
uint8_t sectors_per_cluster; number of sectors per cluster
uint32_t total_clusters; the number of total clusters on the drive
uint32_t free_clusters; the number of free (unused) clusters on drive
struct {
uint32_t c;
uint32_t curcls;
uint32_t EndClusterLimit;
uint32_t ClusterFailValue;
} private;
intermediate values used to continue searches. This member
should be used only by the FSGetDiskProperties() function
Description
Structure that contains the disk search information, intermediate values, and results
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
50

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