GetDeviceDescriptor Method (deviceProfileHandle, deviceDescriptor)

LibUsbDotNet

LibUsbDotNet 2.2.8 GetDeviceDescriptor Method (deviceProfileHandle, deviceDescriptor)
Library ReferenceMonoLibUsbMonoUsbApiGetDeviceDescriptor(MonoUsbProfileHandle, MonoUsbDeviceDescriptor)
LibUsbDotNet on SourceForge
Gets the standard device descriptor.
Declaration Syntax
C# Visual Basic Visual C++
public static int GetDeviceDescriptor(
	MonoUsbProfileHandle deviceProfileHandle,
	MonoUsbDeviceDescriptor deviceDescriptor
)
Public Shared Function GetDeviceDescriptor ( _
	deviceProfileHandle As MonoUsbProfileHandle, _
	<OutAttribute> deviceDescriptor As MonoUsbDeviceDescriptor _
) As Integer
public:
static int GetDeviceDescriptor(
	[InAttribute] MonoUsbProfileHandle^ deviceProfileHandle, 
	[OutAttribute] MonoUsbDeviceDescriptor^ deviceDescriptor
)
Parameters
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.
Remarks
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: 2.2.8.104 (2.2.8.104)