UsbEndpointDescriptor.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 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.