# 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
…
- 38
- 39
- 40
- 41
- 42
…
- 82
- 83

Function
void FILEIO_ErrorClear (uint16_t driveId)
1.7.1.2.12 FILEIO_ErrorGet Function
Gets the last error condition of a drive.
File
fileio_lfn.h
Syntax
FILEIO_ERROR_TYPE FILEIO_ErrorGet(uint16_t driveId);
Module
Long File Name Library API
Returns
FILEIO_ERROR_TYPE - The last error that occurred on the drive.
Description
Gets the last error condition of the specified drive.
Preconditions
The drive must have been mounted.
Parameters
Parameters Description
driveId The character representation of the drive.
Function
FILEIO_ERROR_TYPE FILEIO_ErrorGet (uint16_t driveId)
1.7.1.2.13 FILEIO_FileSystemTypeGet Function
Describes the file system type of a file system.
File
fileio_lfn.h
Syntax
FILEIO_FILE_SYSTEM_TYPE FILEIO_FileSystemTypeGet(uint16_t driveId);
Module
Long File Name Library API
Returns
• If Success: FILEIO_FILE_SYSTEM_TYPE enumeration member
• If Failure: FILEIO_FILE_SYSTEM_NONE
Description
Describes the file system type of a file system.
Preconditions
A drive must have been mounted by the FILEIO library.
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
40

- 1
- 2
…
- 38
- 39
- 40
- 41
- 42
…
- 82
- 83