LibUsbDotNet 2.2.8
SetAltInterface Method (interfaceID, alternateID)
Library ReferenceLibUsbDotNet.LibUsbLibUsbDeviceSetAltInterface(Int32, Int32)
LibUsbDotNet on SourceForge
Sets an alternate interface for the specified interface.
Declaration Syntax
C#Visual BasicVisual C++
public bool SetAltInterface(
	int interfaceID,
	int alternateID
)
Public Function SetAltInterface ( _
	interfaceID As Integer, _
	alternateID As Integer _
) As Boolean
public:
bool SetAltInterface(
	int interfaceID, 
	int alternateID
)
Parameters
interfaceID (Int32)
The interface index to specify an alternate setting for.
alternateID (Int32)
The alternate interface setting.
Return Value
True on success.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)