Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

FILEIO_DrivePropertiesGet Allows user to get the drive properties (size of drive, free space, etc)
FILEIO_LongFileNameGet Obtains the long file name of a file found by the FILEIO_Find function.
FILEIO_RegisterTimestampGet Registers a FILEIO_TimestampGet function with the library.
Structures
Name Description
FILEIO_TIMESTAMP Structure to describe the time fields of a file
FILEIO_DRIVE_PROPERTIES Structure that contains the disk search information, intermediate values,
and results
FILEIO_MEDIA_INFORMATION Media information flags. The driver's MediaInitialize function will return a
pointer to one of these structures.
FILEIO_OBJECT Contains file information and is used to indicate which file to access.
FILEIO_SEARCH_RECORD Search structure
Types
Name Description
FILEIO_TimestampGet Describes the user-implemented function to provide the timestamp.
Unions
Name Description
FILEIO_TIME Function to describe the FAT file system time.
FILEIO_DATE Structure to describe a FAT file system date
Description
This section describes APIs that are common to both versions of the File I/O library.
1.7.1.3.1 Physical Layer Functions
Describes function pointer types used to define a physical layer.
Structures
Name Description
FILEIO_DRIVE_CONFIG Function pointer table that describes a drive being configured by the user
Types
Name Description
FILEIO_DRIVER_IOInitialize Function pointer prototype for a driver function to initialize I/O pins and
modules for a driver.
FILEIO_DRIVER_MediaInitialize Function pointer prototype for a driver function to perform media- specific
initialization tasks.
FILEIO_DRIVER_MediaDeinitialize Function pointer prototype for a driver function to deinitialize a media
device.
FILEIO_DRIVER_MediaDetect Function pointer prototype for a driver function to detect if a media device
is attached/available.
FILEIO_DRIVER_SectorRead Function pointer prototype for a driver function to read a sector of data
from the device.
FILEIO_DRIVER_SectorWrite Function pointer prototype for a driver function to write a sector of data to
the device.
FILEIO_DRIVER_WriteProtectStateGet Function pointer prototype for a driver function to determine if the device
is write-protected.
Description
This section describes the functions that a physical layer must define in order to allow the File I/O layer to interface with it. A
FILEIO_DRIVE_CONFIG structure containing pointers to functions that match these prototypes will be passed into the
1.7 Library Interface MLA - File I/O Library Help File I/O Layer
43

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh