Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Preconditions
A drive must have been mounted by the FILEIO library.
Parameters
Parameters Description
driveId Character representation of the mounted device.
Function
FILEIO_FILE_SYSTEM_TYPE FILEIO_FileSystemTypeGet (char driveId)
1.7.1.2 Long File Name Library API
Describes APIs that are specific to the Long File Name version of the library defined by fileio_lfn.h.
Functions
Name Description
FILEIO_DriveMount Initializes a drive and loads its configuration information.
FILEIO_DriveUnmount Unmounts a drive.
FILEIO_Open Opens a file for access.
FILEIO_Remove Deletes a file.
FILEIO_Rename Renames a file.
FILEIO_Find Searches for a file in the current working directory.
FILEIO_DirectoryMake Creates the directory/directories specified by 'path.'
FILEIO_DirectoryChange Changes the current working directory.
FILEIO_DirectoryRemove Deletes a directory.
FILEIO_DirectoryGetCurrent Gets the name of the current working directory.
FILEIO_ErrorClear Clears the last error on a drive.
FILEIO_ErrorGet Gets the last error condition of a drive.
FILEIO_FileSystemTypeGet Describes the file system type of a file system.
FILEIO_Format Formats a drive.
FILEIO_ShortFileNameGet Obtains the short file name of an open file.
Description
This section describes APIs that are specific to the Long File Name version of the library defined by fileio_lfn.h. Most
functions in this section have a corresponding function in the Short File Name version of the library that accepts Short File
Name arguments.
1.7.1.2.1 FILEIO_DriveMount Function
Initializes a drive and loads its configuration information.
File
fileio_lfn.h
Syntax
FILEIO_ERROR_TYPE FILEIO_DriveMount(uint16_t driveId, const FILEIO_DRIVE_CONFIG *
driveConfig, void * mediaParameters);
Module
Long File Name Library API
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
31
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_fileio.pdf