openharmony 鸿蒙 capi-usbddk-usb-devicearray

2026-08-25 浏览 (1)

Usb_DeviceArray

typedef struct 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 module: UsbDdk

Header file: usb_ddk_types.h

Summary

Member Variables

NameDescription
uint64_t* deviceIdsPointer to the start address of the device ID array that you have applied for. To avoid excessive memory consumption, the recommended maximum size of the allocated array is generally 128.
uint32_t numDefines 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.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-request

openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor

openharmony 鸿蒙 capi-hidddk

openharmony 鸿蒙 capi-usbddk

openharmony 鸿蒙 capi-hidddk-hid-absaxesarray

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-response

openharmony 鸿蒙 capi-scsi-peripheral-api-h

openharmony 鸿蒙 capi-hidddk-hid-relaxesarray

openharmony 鸿蒙 js-apis-driver-deviceManager

openharmony 鸿蒙 capi-hidddk-hid-eventtypearray

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/JHCWQSFL