Contents

IOUSBGetPlatformCapabilityDescriptor

Finds the first platform capability descriptor in a BOS descriptor.

Declaration

const IOUSBPlatformCapabilityDescriptor *IOUSBGetPlatformCapabilityDescriptor(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 PlatformCapabilityDescriptor.

See Also

BOS Descriptors