# 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
…
- 26
- 27
- 28
- 29
- 30
…
- 82
- 83

Module
Short File Name Library API
Returns
• If Success: FILEIO_RESULT_SUCCESS
• If Failure: FILEIO_RESULT_FAILURE
Description
Changes the current working directory to the directory specified by 'path.'
Preconditions
The specified drive must be mounted and the directory being changed to should exist.
Parameters
Parameters Description
path The path of the directory to change to.
Function
int FILEIO_DirectoryChange (const char * path)
1.7.1.1.9 FILEIO_DirectoryRemove Function
Deletes a directory.
File
fileio.h
Syntax
int FILEIO_DirectoryRemove(const char * pathName);
Module
Short File Name Library API
Returns
• If Success: FILEIO_RESULT_SUCCESS
• If Failure: FILEIO_RESULT_FAILURE
Description
Deletes a directory. The specified directory must be empty.
Preconditions
The directory's drive must be mounted and the directory should exist.
Parameters
Parameters Description
pathName The path/name of the directory to delete.
Function
int FILEIO_DirectoryRemove (const char * pathName)
1.7.1.1.10 FILEIO_DirectoryGetCurrent Function
Gets the name of the current working directory.
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
28

- 1
- 2
…
- 26
- 27
- 28
- 29
- 30
…
- 82
- 83