pub unsafe extern "C-unwind" fn IOUSBGetNextInterfaceDescriptor(
configuration_descriptor: *const IOUSBConfigurationDescriptor,
current_descriptor: *const IOUSBDescriptorHeader,
) -> *const IOUSBInterfaceDescriptorAvailable on crate features
AppleUSBDescriptorParsing and objc2-io-kit only.Expand description
Find the next interface descriptor in a configuration descriptor
This method uses getNextDescriptorWithType to fetch the next interface descriptor
Parameter configurationDescriptor: Configuration descriptor that contains the descriptors to iterate through
Parameter currentDescriptor: A descriptor pointer within the bounds of configurationDescriptor, or NULL
Returns: InterfaceDescriptor pointer, or NULL if no matching descriptor can be found
ยงSafety
configuration_descriptormust be a valid pointer.current_descriptormust be a valid pointer.