UsbEndpointDescriptor.Parse(UsbDescriptor) Method

Definition

Parses the specified USB descriptor and returns the USB endpoint descriptor in a UsbEndpointDescriptor object.

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

Parameters

descriptor
UsbDescriptor

A UsbDescriptor object that contains the USB endpoint descriptor.

Returns

A UsbEndpointDescriptor object that contains the USB endpoint descriptor.

Applies to