Share via


UsbConfigurationDescriptor.Parse(UsbDescriptor) Method

Definition

Parses the specified USB descriptor and returns fields of a USB configuration descriptor.

public:
 static UsbConfigurationDescriptor ^ Parse(UsbDescriptor ^ descriptor);
 static UsbConfigurationDescriptor Parse(UsbDescriptor const& descriptor);
public static UsbConfigurationDescriptor Parse(UsbDescriptor descriptor);
function parse(descriptor)
Public Shared Function Parse (descriptor As UsbDescriptor) As UsbConfigurationDescriptor

Parameters

descriptor
UsbDescriptor

A UsbDescriptor object that contains first 9 bytes of the USB configuration descriptor.

Returns

A UsbConfigurationDescriptor object that contains fields of a USB configuration descriptor.

Applies to