Release an interface previously claimed with ClaimInterface(MonoUsbDeviceHandle, Int32).
|C#||Visual Basic||Visual C++|
Public Shared Function ReleaseInterface ( _ deviceHandle As MonoUsbDeviceHandle, _ interfaceNumber As Integer _ ) As Integer
Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 18.104.22.168 (22.214.171.124)
You should release all claimed interfaces before closing a device handle.
This is a blocking function. A SET_INTERFACE control request will be sent to the device, resetting interface state to the first alternate setting.
Note: Member documentation was originally generated using the Libusb-1.0 API documentation: Device handling and enumeration