Get a MonoUsbProfileHandle for a MonoUsbDeviceHandle.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static MonoUsbProfileHandle GetDevice( MonoUsbDeviceHandle devicehandle )
Public Shared Function GetDevice ( _ devicehandle As MonoUsbDeviceHandle _ ) As MonoUsbProfileHandle
public: static MonoUsbProfileHandle^ GetDevice( MonoUsbDeviceHandle^ devicehandle )
Parameters
- devicehandle (MonoUsbDeviceHandle)
- A device handle.
Return Value
The underlying profile handle.
Remarks
This function differs from the Libusb-1.0 C API in that when the new MonoUsbProfileHandle is returned, the device profile reference count is incremented ensuring the profile will remain valid as long as it is in-use.
Note:
Member documentation was originally generated using the Libusb-1.0 API documentation:
Device handling and enumeration