harmony 鸿蒙Usb_DeviceArray
Usb_DeviceArray
Overview
Defines the device ID list, which is used to store the device IDs and device quantity obtained using OH_Usb_GetDevices().
Since
18
Related Modules
Header file: usb_ddk_types.h
Summary
Member Variables
Name | Description |
---|---|
deviceIds | Start address of the device ID array. |
num | Device quantity. |
Member Variable Description
deviceIds
uint64_t* Usb_DeviceArray::deviceIds
Description
Defines the start address of the device ID array. The number of device IDs cannot exceed 128.
num
uint32_t Usb_DeviceArray::num
Description
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.
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦