pub unsafe extern "C-unwind" fn IOUSBGetUSB20ExtensionDeviceCapabilityDescriptor(
bos_descriptor: *const IOUSBBOSDescriptor,
) -> *const IOUSBDeviceCapabilityUSB2ExtensionAvailable on crate features
AppleUSBDescriptorParsing and objc2-io-kit only.Expand description
Find the first USB20ExtensionCapabilityDescriptor in a BOS descriptor
This method uses getNextCapabilityDescriptorWithType to fetch the first USB20ExtensionCapabilityDescriptor
Parameter bosDescriptor: BOS descriptor that contains the descriptors to iterate through
Returns: USB20ExtensionCapabilityDescriptor pointer, or NULL if no matching descriptor can be found
ยงSafety
bos_descriptor must be a valid pointer.