Get the number of the bus that a device is connected to.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static byte GetBusNumber( MonoUsbProfileHandle deviceProfileHandle )
Public Shared Function GetBusNumber ( _ deviceProfileHandle As MonoUsbProfileHandle _ ) As Byte
public: static unsigned char GetBusNumber( [InAttribute] MonoUsbProfileHandle^ deviceProfileHandle )
Parameters
- deviceProfileHandle (MonoUsbProfileHandle)
- A device profile handle.
Return Value
The bus number.
Remarks
Note:
Member documentation was originally generated using the Libusb-1.0 API documentation:
Device handling and enumeration