# 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
…
- 187
- 188
- 189
- 190
- 191
…
- 311
- 312

uint8_t stringItems;
uint8_t strings;
uint8_t usageItems;
uint8_t usages;
HID_GLOBALS globals;
} USB_HID_DEVICE_RPT_INFO;
Members
Members Description
uint16_t reportPollingRate; This stores the pollrate for the input report. Application can
use this to decide the rate of transfer
uint8_t interfaceNumber; This stores the interface number for the current report
descriptor
bool haveDesignatorMax; True if report descriptor has a valid Designator Max
bool haveDesignatorMin; True if report descriptor has a valid Designator Min
bool haveStringMax; True if report descriptor has a valid String Max
bool haveStringMin; True if report descriptor has a valid String Min
bool haveUsageMax; True if report descriptor has a valid Usage Max
bool haveUsageMin; True if report descriptor has a valid Usage Min
uint16_t designatorMaximum; Last designator max value
uint16_t designatorMinimum; Last designator min value
uint16_t designatorRanges; Last designator range
uint16_t designators; This tells toatal number of designator items
uint16_t rangeUsagePage; current usage page during parsing
uint16_t stringMaximum; current string maximum
uint16_t stringMinimum; current string minimum
uint16_t stringRanges; current string ranges
uint16_t usageMaximum; current usage maximum
uint16_t usageMinimum; current usage minimum
uint16_t usageRanges; current usage ranges
uint8_t collectionNesting; this number tells depth of collection nesting
uint8_t collections; total number of collections
uint8_t designatorItems; total number of designator items
uint8_t firstUsageItem; index of first usage item for the current collection
uint8_t firstDesignatorItem; index of first designator item for the current collection
uint8_t firstStringItem; index of first string item for the current collection
uint8_t globalsNesting; On encountering every PUSH item , this is incremented ,
keep track of current depth of Globals
uint8_t maxCollectionNesting; Maximum depth of collections
uint8_t maxGlobalsNesting; Maximum depth of Globals
uint8_t parent; Parent collection
uint8_t reportItems; total number of report items
uint8_t reports; total number of reports
uint8_t sibling; current sibling collection
uint8_t stringItems; total number of string items , used to index the array of
strings
uint8_t strings; total sumber of strings
uint8_t usageItems; total number of usage items , used to index the array of
usage
uint8_t usages; total sumber of usages
HID_GLOBALS globals; holds cuurent globals items
1.4 Library Interface MLA - USB Library Help Embedded Host API
189

- 1
- 2
…
- 187
- 188
- 189
- 190
- 191
…
- 311
- 312