GetConfigDescriptorByValue Method (deviceProfileHandle, bConfigurationValue, configHandle)

LibUsbDotNet

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