Get a USB configuration descriptor based on its index.

C# | Visual Basic | Visual 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
public: 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.

- 0 on success
- ErrorNotFound if the device is in unconfigured state
- another MonoUsbError code on error


