LibUsbDotNet/LibUsbDotNet/LibUsb/UsbDevice.Interfaces.cs
/// <summary>
/// Gets the alternate interface number for the specified interfaceID.
/// </summary>
/// <param name="interfaceID">The interface number of to get the alternate setting for.</param>
/// <param name="alternateID">The currrently selected alternate interface number.</param>
/// <returns>True on success.</returns>
Gets the alternate interface number for the specified interfaceID.
Gets the alternate interface number for the specified interfaceID .
public bool GetAltInterface(int interfaceID, out int alternateID)
        {
            alternateID = this.usbAltInterfaceSettings[interfaceID & (UsbConstants.MaxDeviceCount - 1)];
            return true;
        }
public bool GetAltInterface ( int interfaceID , out int alternateID ) { alternateID = this . usbAltInterfaceSettings [ interfaceID & ( UsbConstants . MaxDeviceCount - 1 ) ] ; return true ; }
Gets the alternate interface number for the specified interfaceID.
Gets the alternate interface number for the specified interfaceID .
True on success.
True on success .
interfaceID
int
The interface number of to get the alternate setting for.
The interface number of to get the alternate setting for .
int
out
alternateID
The currrently selected alternate interface number.
The currrently selected alternate interface number .