LibUsbDotNet 2.2.8
GetAssociatedInterface Method (associatedInterfaceIndex, usbDevice)
Library Reference ► LibUsbDotNet.WinUsb ► WinUsbDevice ► GetAssociatedInterface(Byte, WinUsbDevice%)
|
Gets an interface associated with this WinUsbDevice.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public bool GetAssociatedInterface( byte associatedInterfaceIndex, out WinUsbDevice usbDevice )
Public Function GetAssociatedInterface ( _ associatedInterfaceIndex As Byte, _ <OutAttribute> ByRef usbDevice As WinUsbDevice _ ) As Boolean
public: bool GetAssociatedInterface( unsigned char associatedInterfaceIndex, [OutAttribute] WinUsbDevice^% usbDevice )
Parameters
- associatedInterfaceIndex (Byte)
- The index to retrieve. (0 = next interface, 1= interface after next, etc.).
- usbDevice (WinUsbDevice%)
- A new WinUsbDevice class for the specified AssociatedInterfaceIndex.
Return Value
True on success.