Contents

IOUSBGetNextInterfaceAssociationDescriptor(_:_:)

Obtains the next interface association descriptor in a configuration descriptor.

Declaration

func IOUSBGetNextInterfaceAssociationDescriptor(_ configurationDescriptor: UnsafePointer<IOUSBConfigurationDescriptor>!, _ currentDescriptor: UnsafePointer<IOUSBDescriptorHeader>!) -> UnsafePointer<IOUSBInterfaceAssociationDescriptor>!

Parameters

  • configurationDescriptor:

    A configuration descriptor that contains the descriptors to iterate through.

  • currentDescriptor:

    A descriptor pointer within the bounds of configurationDescriptor, or nil.

Return Value

The next interface assocation descriptor pointer, or nil if no matching descriptor returns.

Discussion

This method uses IOUSBGetNextDescriptorWithType(_:_:_:) to find the next interface association descriptor.

See Also

Configuration Descriptor Parsing