# Vault 7: Projects

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

### Protego

# MLA -- USB Library

20 December, 2013

- 1
- 2
…
- 198
- 199
- 200
- 201
- 202
…
- 311
- 312

USB_HID_RESET_ERROR An error occurred while resetting the device.
USB_HID_RESETTING_DEVICE Device is being reset.
USB_PROCESSING_REPORT_DESCRIPTOR Parser is processing report descriptor.
USBHostHID_ApiDeviceDetect This macro provides legacy support for an older API function.
USBHostHID_ApiGetReport This macro provides legacy support for an older API function.
USBHostHID_ApiResetDevice This macro provides legacy support for an older API function.
USBHostHID_ApiSendReport This macro provides legacy support for an older API function.
USBHostHID_ApiTransferIsComplete This macro provides legacy support for an older API function.
USBHostHID_GetCurrentReportInfo This function returns a pointer to the current report info structure.
USBHostHID_GetItemListPointers This function returns a pointer to list of item pointers stored in a structure.
USBHostHIDRead This function starts a Get report transfer reuest from the device, utilizing
the function USBHostHIDTransfer();
USBHostHIDWrite This function starts a Set report transfer request to the device, utilizing
the function USBHostHIDTransfer();
Module
HID Client Driver
Structures
Name Description
_HID_DATA_DETAILS HID Data Details
This structure defines the objects used by the application to access
required report. Application must use parser interface functions to fill
these details. e.g. USBHostHID_ApiFindValue
_HID_TRANSFER_DATA HID Transfer Information
This structure is used when the event handler is used to notify the upper
layer of transfer completion (EVENT_HID_READ_DONE or
EVENT_HID_WRITE_DONE).
_USB_HID_DEVICE_ID HID Device ID Information
This structure contains identification information about an attached
device.
HID_DATA_DETAILS HID Data Details
This structure defines the objects used by the application to access
required report. Application must use parser interface functions to fill
these details. e.g. USBHostHID_ApiFindValue
HID_TRANSFER_DATA HID Transfer Information
This structure is used when the event handler is used to notify the upper
layer of transfer completion (EVENT_HID_READ_DONE or
EVENT_HID_WRITE_DONE).
USB_HID_DEVICE_ID HID Device ID Information
This structure contains identification information about an attached
device.
Types
Name Description
HID_USER_DATA_SIZE HID User Data Size
This defines the data type required to hold the maximum field size data.
Maximum size of data field within a report
Description
This is file usb_host_hid.h.
1.4 Library Interface MLA - USB Library Help Embedded Host API
200

- 1
- 2
…
- 198
- 199
- 200
- 201
- 202
…
- 311
- 312