UsbConfigurationDescriptor.Parse(UsbDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.