---
title: "IOUSBGetSuperSpeedDeviceCapabilityDescriptor(_:)"
framework: iousbhost
role: symbol
role_heading: Function
path: "iousbhost/iousbgetsuperspeeddevicecapabilitydescriptor(_:)"
---

# IOUSBGetSuperSpeedDeviceCapabilityDescriptor(_:)

Obtains the first SuperSpeed capability descriptor in a BOS descriptor.

## Declaration

```swift
func IOUSBGetSuperSpeedDeviceCapabilityDescriptor(_ bosDescriptor: UnsafePointer<IOUSBBOSDescriptor>!) -> UnsafePointer<IOUSBDeviceCapabilitySuperSpeedUSB>!
```

## Parameters

- `bosDescriptor`: A BOS descriptor that contains the descriptors to iterate through.

## Return Value

Return Value A SuperSpeed capability pointer, or nil if no matching descriptor returns.

## Discussion

Discussion This method uses IOUSBGetNextCapabilityDescriptorWithType(_:_:_:) to find the first SuperSpeed capability descriptor.

## See Also

### BOS Descriptor Parsing

- [IOUSBGetUSB20ExtensionDeviceCapabilityDescriptor(_:)](iousbhost/iousbgetusb20extensiondevicecapabilitydescriptor(_:).md)
- [IOUSBGetNextCapabilityDescriptorWithType(_:_:_:)](iousbhost/iousbgetnextcapabilitydescriptorwithtype(_:_:_:).md)
- [IOUSBGetNextCapabilityDescriptor(_:_:)](iousbhost/iousbgetnextcapabilitydescriptor(_:_:).md)
- [IOUSBGetContainerIDDescriptor(_:)](iousbhost/iousbgetcontaineriddescriptor(_:).md)
- [IOUSBGetBillboardDescriptor(_:)](iousbhost/iousbgetbillboarddescriptor(_:).md)
