Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Parameters
Parameters Description
driveId Character representation of the mounted device.
Function
FILEIO_FILE_SYSTEM_TYPE FILEIO_FileSystemTypeGet (uint16_t driveId)
1.7.1.2.14 FILEIO_Format Function
Formats a drive.
File
fileio_lfn.h
Syntax
int FILEIO_Format(FILEIO_DRIVE_CONFIG * config, void * mediaParameters, FILEIO_FORMAT_MODE
mode, uint32_t serialNumber, char * volumeId);
Module
Long File Name Library API
Returns
• If Success: FILEIO_RESULT_SUCCESS
• If Failure: FILEIO_RESULT_FAILURE
Description
Formats a drive.
Preconditions
FILEIO_Initialize must have been called.
Parameters
Parameters Description
config Drive configuration pointer
mode FILEIO_FORMAT_MODE specifier
serialNumber Serial number to write to the drive
volumeId Name of the drive.
Function
int FILEIO_Format ( FILEIO_DRIVE_CONFIG * config,
void * mediaParameters, char mode,
uint32_t serialNumber, char * volumeID)
1.7.1.2.15 FILEIO_ShortFileNameGet Function
Obtains the short file name of an open file.
File
fileio_lfn.h
Syntax
void FILEIO_ShortFileNameGet(FILEIO_OBJECT * filePtr, char * buffer);
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
41
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_fileio.pdf