• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Usb_DeviceArray
2<!--Kit: Driver Development Kit-->
3<!--Subsystem: Driver-->
4<!--Owner: @lixinsheng2-->
5<!--Designer: @w00373942-->
6<!--Tester: @dong-dongzhen-->
7<!--Adviser: @w_Machine_cc-->
8
9## Overview
10
11Defines the device ID list, which is used to store the device IDs and device quantity obtained using **OH_Usb_GetDevices**.
12
13**Since**: 16
14
15**Related module**: [UsbDDK](capi-usbddk.md)
16
17**Header file:** [usb_ddk_types.h](capi-usb-ddk-types-h.md)
18
19## Summary
20
21### Member Variables
22
23| Name| Description|
24| -- | -- |
25| uint64_t* deviceIds | Defines the start address of the device ID array. The number of device IDs cannot exceed 128.|
26| uint32_t num | Defines the device quantity. Device IDs are obtained by traversing **deviceIds** based on the value of this parameter. If the value is **0**, there is no USB device.|
27