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: 184.108.40.206 (220.127.116.11)
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