IOUSBGetSuperSpeedDeviceCapabilityDescriptor
Finds the first SuperSpeed device capability descriptor in a BOS descriptor.
Declaration
const IOUSBDeviceCapabilitySuperSpeedUSB *IOUSBGetSuperSpeedDeviceCapabilityDescriptor(const IOUSBBOSDescriptor *bosDescriptor);Parameters
- bosDescriptor:
The BOS descriptor that contains the descriptors to iterate through.
Return Value
The descriptor pointer, or NULL if no matching descriptor can be found.
Discussion
This method uses getNextCapabilityDescriptorWithType to fetch the first device capability descriptor.