Contents

IOUSBGetBillboardDescriptor(_:)

Obtains the first billboard capability descriptor in a BOS descriptor.

Declaration

func IOUSBGetBillboardDescriptor(_ bosDescriptor: UnsafePointer<IOUSBBOSDescriptor>!) -> UnsafePointer<IOUSBDeviceCapabilityBillboard>!

Parameters

  • bosDescriptor:

    A BOS descriptor that contains the descriptors to iterate through.

Return Value

A billboard capability descriptor pointer, or nil if no matching descriptor returns.

Discussion

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

See Also

BOS Descriptor Parsing