# 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
…
- 54
- 55
- 56
- 57
- 58
…
- 311
- 312

1.4.1.1.1.22 USBHandleGetAddr Function
Retrieves the address of the destination buffer of the input handle
File
usb_device.h
Syntax
uint16_t USBHandleGetAddr(USB_HANDLE);
Description
Retrieves the address of the destination buffer of the input handle
Remarks
None
Preconditions
None
Parameters
Parameters Description
USB_HANDLE handle the handle to the transfer you want the address for.
Return Values
Return Values Description
uint16_t address of the current buffer that the input handle points to.
Function
uint16_t USBHandleGetAddr( USB_HANDLE)
1.4.1.1.1.23 USBHandleGetLength Function
Retrieves the length of the destination buffer of the input handle
File
usb_device.h
Syntax
uint16_t USBHandleGetLength(USB_HANDLE handle);
Description
Retrieves the length of the destination buffer of the input handle
Remarks
None
Preconditions
None
Parameters
Parameters Description
USB_HANDLE handle the handle to the transfer you want the address for.
1.4 Library Interface MLA - USB Library Help Device/Peripheral
56

- 1
- 2
…
- 54
- 55
- 56
- 57
- 58
…
- 311
- 312