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

record Structure containing parameters about the found file. Also
contains private information used for additional searches for
files that match the given criteria in the same directory.
newSearch true if this is the first search for the specified file parameters
in the specified directory, false otherwise. This parameter
must be specified as 'true' the first time this function is called
with any given FILEIO_SEARCH_RECORD structure. The
same FILEIO_SEARCH_RECORD structure should be used
with subsequent calls of this function to search for additional
files matching the given criteria.
Function
int FILEIO_Find (const char * fileName, unsigned int attr,
FILEIO_SEARCH_RECORD * record, bool newSearch)
1.7.1.1.7 FILEIO_DirectoryMake Function
Creates the directory/directories specified by 'path.'
File
fileio.h
Syntax
int FILEIO_DirectoryMake(const char * path);
Module
Short File Name Library API
Returns
• If Success: FILEIO_RESULT_SUCCESS
• If Failure: FILEIO_RESULT_FAILURE
Description
Creates the directory/directories specified by 'path.'
Preconditions
The specified drive must be mounted.
Parameters
Parameters Description
path Path string containing all directories to create.
Function
int FILEIO_DirectoryMake (const char * path)
1.7.1.1.8 FILEIO_DirectoryChange Function
Changes the current working directory.
File
fileio.h
Syntax
int FILEIO_DirectoryChange(const char * path);
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
27

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