LibUsbDotNet 2.2.8
GetDeviceDescriptor Method (deviceProfileHandle, deviceDescriptor)
Library ReferenceMonoLibUsbMonoUsbApiGetDeviceDescriptor(MonoUsbProfileHandle, MonoUsbDeviceDescriptor)
LibUsbDotNet on SourceForge
Gets the standard device descriptor.
Declaration Syntax
C#Visual BasicVisual C++
public static int GetDeviceDescriptor(
	MonoUsbProfileHandle deviceProfileHandle,
	MonoUsbDeviceDescriptor deviceDescriptor
Public Shared Function GetDeviceDescriptor ( _
	deviceProfileHandle As MonoUsbProfileHandle, _
	<OutAttribute> deviceDescriptor As MonoUsbDeviceDescriptor _
) As Integer
static int GetDeviceDescriptor(
	[InAttribute] MonoUsbProfileHandle^ deviceProfileHandle, 
	[OutAttribute] MonoUsbDeviceDescriptor^ deviceDescriptor
deviceProfileHandle (MonoUsbProfileHandle)
A device profile handle.
deviceDescriptor (MonoUsbDeviceDescriptor)
The MonoUsbDeviceDescriptor clas that will hold the data.
Return Value
0 on success or a MonoUsbError code on failure.
Note:This is a non-blocking function which does not involve any requests being sent to the device.
Note: Member documentation was originally generated using the Libusb-1.0 API documentation: USB descriptors

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: (