# 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
…
- 43
- 44
- 45
- 46
- 47
…
- 82
- 83

1.7.1.3.1.3 FILEIO_DRIVER_MediaInitialize Type
Function pointer prototype for a driver function to perform media- specific initialization tasks.
File
fileio_lfn.h
Syntax
typedef FILEIO_MEDIA_INFORMATION * (* FILEIO_DRIVER_MediaInitialize)(void * mediaConfig);
Returns
FILEIO_MEDIA_INFORMATION * - Pointer to a media initialization structure that has been loaded with initialization values.
Description
Function pointer prototype for a driver function to perform media- specific initialization tasks.
Preconditions
FILEIO_DRIVE_IOInitialize will be called first.
Parameters
Parameters Description
mediaConfig Pointer to a driver-defined config structure
Function
FILEIO_MEDIA_INFORMATION * (*FILEIO_DRIVER_MediaInitialize)(void * mediaConfig);
1.7.1.3.1.4 FILEIO_DRIVER_MediaDeinitialize Type
Function pointer prototype for a driver function to deinitialize a media device.
File
fileio_lfn.h
Syntax
typedef bool (* FILEIO_DRIVER_MediaDeinitialize)(void * mediaConfig);
Returns
If Success: true If Failure: false
Description
Function pointer prototype for a driver function to deinitialize a media device.
Preconditions
None
Parameters
Parameters Description
mediaConfig Pointer to a driver-defined config structure
Function
bool (*FILEIO_DRIVER_MediaDeinitialize)(void * mediaConfig);
1.7.1.3.1.5 FILEIO_DRIVER_MediaDetect Type
Function pointer prototype for a driver function to detect if a media device is attached/available.
File
fileio_lfn.h
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
45

- 1
- 2
…
- 43
- 44
- 45
- 46
- 47
…
- 82
- 83