UsbEndpointDescriptor.TryParse(UsbDescriptor, UsbEndpointDescriptor) 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.
Retrieves the USB endpoint descriptor in a UsbEndpointDescriptor object that is contained in a UsbDescriptor object.
public:
static bool TryParse(UsbDescriptor ^ descriptor, [Out] UsbEndpointDescriptor ^ & parsed);
static bool TryParse(UsbDescriptor const& descriptor, [Out] UsbEndpointDescriptor const& & parsed);
public static bool TryParse(UsbDescriptor descriptor, out UsbEndpointDescriptor parsed);
Public Shared Function TryParse (descriptor As UsbDescriptor, ByRef parsed As UsbEndpointDescriptor) As Boolean
Parameters
- descriptor
- UsbDescriptor
The UsbDescriptor object to parse.
- parsed
- UsbEndpointDescriptor
Receives a UsbEndpointDescriptor object.
Returns
Boolean
bool
True, if the specified UsbDescriptor object is a USB endpoint descriptor. Otherwise, false.