# 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
…
- 179
- 180
- 181
- 182
- 183
…
- 311
- 312

HID_STRINGITEM HID String Item Details
This structure contains information about each Report encountered in the
report descriptor.
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).
HID_USAGEITEM HID Report Details
This structure contains information about each Usage Item encountered
in the report descriptor.
_USB_HID_DEVICE_ID HID Device ID Information
This structure contains identification information about an attached
device.
_USB_HID_DEVICE_RPT_INFO Report Descriptor Information
This structure contains top level information of the report descriptor. This
information is important and is used to understand the information during
th ecourse of parsing. This structure also stores temporary data needed
during parsing the report descriptor. All of this information may not be of
much inportance to the application.
USB_HID_DEVICE_ID HID Device ID Information
This structure contains identification information about an attached
device.
_USB_HID_ITEM_LIST List of Items
This structure contains array of pointers to all the Items in the report
descriptor. HID parser will populate the lists while parsing the report
descriptor. This data is used by interface functions provided in file
usb_host_hid_interface.c to retrive data from the report received from the
device. Application can also access these details to retreive the intended
information incase provided interface function fail to do so.
USB_HID_DEVICE_RPT_INFO Report Descriptor Information
This structure contains top level information of the report descriptor. This
information is important and is used to understand the information during
th ecourse of parsing. This structure also stores temporary data needed
during parsing the report descriptor. All of this information may not be of
much inportance to the application.
USB_HID_ITEM_LIST List of Items
This structure contains array of pointers to all the Items in the report
descriptor. HID parser will populate the lists while parsing the report
descriptor. This data is used by interface functions provided in file
usb_host_hid_interface.c to retrive data from the report received from the
device. Application can also access these details to retreive the intended
information incase provided interface function fail to do so.
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
Variables
Name Description
deviceRptInfo
itemListPtrs This is variable itemListPtrs.
Description
1.4 Library Interface MLA - USB Library Help Embedded Host API
181

- 1
- 2
…
- 179
- 180
- 181
- 182
- 183
…
- 311
- 312