LibUsbDotNet 2.2.8
GetConfigDescriptor Method (deviceProfileHandle, configIndex, configHandle)
Library ReferenceMonoLibUsbMonoUsbApiGetConfigDescriptor(MonoUsbProfileHandle, Byte, MonoUsbConfigHandle%)
LibUsbDotNet on SourceForge
Get a USB configuration descriptor based on its index.
Declaration Syntax
C#Visual BasicVisual C++
public static int GetConfigDescriptor(
	MonoUsbProfileHandle deviceProfileHandle,
	byte configIndex,
	out MonoUsbConfigHandle configHandle
Public Shared Function GetConfigDescriptor ( _
	deviceProfileHandle As MonoUsbProfileHandle, _
	configIndex As Byte, _
	<OutAttribute> ByRef configHandle As MonoUsbConfigHandle _
) As Integer
static int GetConfigDescriptor(
	[InAttribute] MonoUsbProfileHandle^ deviceProfileHandle, 
	unsigned char configIndex, 
	[OutAttribute] MonoUsbConfigHandle^% configHandle
deviceProfileHandle (MonoUsbProfileHandle)
A device profile handle.
configIndex (Byte)
The index of the configuration you wish to retrieve.
configHandle (MonoUsbConfigHandle%)
A config handle.
Return Value
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: (