# 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
…
- 78
- 79
- 80
- 81
- 82
- 83

FILEIO_Flush -
FILEIO_Close FSfclose This function now returns FILEIO_RESULT_SUCCESS/FAILURE
instead of 0/EOF.
FILEIO_GetChar -
FILEIO_PutChar -
FILEIO_Read FSfread
FILEIO_Write FSfwrite
FILEIO_Eof FSfeof FILEIO_Eof returns 'true' and 'false' instead of 0 and !0.
FILEIO_Seek FSfseek This function returns FILEIO_RESULT_SUCCESS/FAILURE
instead of 0/-1.
FILEIO_Tell FSftell
FILEIO_DrivePropertiesGet FSGetDiskProperties The name of the drive properties structure has changes to
FILEIO_DRIVE_PROPERTIES. This function accepts the drive ID
as a second argument.
FILEIO_LongFileNameGet -
FILEIO_Remove FSremove This function now accepts full path strings as an argument. The
return value of this function is
FILEIO_RESULT_SUCCESS/FAILURE instead of 0/EOF.
FILEIO_Rename FSrename This function now accepts a file path and a file name instead of a
pointer to an open file and a file name. The return values are
FILEIO_RESULT_SUCCESS/FAILURE instead of 0/EOF.
FILEIO_Find FindFirst, FindNext The MDD find functions are now represented by a single function.
The name of the SearchRec structure has changed to
FILEIO_SEARCH_RECORD. The user now specifies whether a
new search should be conducted with a boolean function
argument. FILEIO_Find now accepts full path names instead of
simple file names. The return values have changed to
FILEIO_RESULT_SUCCESS/FAILURE.
FILEIO_DirectoryMake FSmkdir The return values have changed to
FILEIO_RESULT_SUCCESS/FAILURE.
FILEIO_DirectoryChange FSchdir The return values have changed to
FILEIO_RESULT_SUCCESS/FAILURE.
FILEIO_DirectoryRemove FSrmdir The return values have changed to
FILEIO_RESULT_SUCCESS/FAILURE. This function can no
longer remove subdirectories and files within the deleted directory
automatically.
FILEIO_DirectoryGetCurrent FSgetcwd This function will no longer return a pointer to a 10-byte buffer if the
user-specified buffer is NULL.
FILEIO_ErrorClear -
FILEIO_ErrorGet FSerror Several error types have changed. See the FILEIO_ERROR_TYPE
enumeration for more information.
FILEIO_FileSystemTypeGet -
FILEIO_RegisterTimestampGet -
1.8 Migration MLA - File I/O Library Help API Differences
80

- 1
- 2
…
- 78
- 79
- 80
- 81
- 82
- 83