IOUSBGetSuperSpeedPlusDeviceCapabilityDescriptor
Finds the first SuperSpeed Plus device capability descriptor in a BOS descriptor.
Declaration
const IOUSBDeviceCapabilitySuperSpeedPlusUSB *IOUSBGetSuperSpeedPlusDeviceCapabilityDescriptor(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.