Opens a WinUsb device by its DeviceInterfaceGUID.
|C#||Visual Basic||Visual C++|
Public Shared Function OpenUsbDevice ( _ ByRef devInterfaceGuid As Guid, _ <OutAttribute> ByRef usbDevice As UsbDevice _ ) As Boolean
True on success.
Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 18.104.22.168 (22.214.171.124)
This is the Microsoft-recommended way for opening a WinUsb device. LibUsb device can be opened in this way as well. In order to open LibUsb devices in this manner, an entry must be added to the driver inf file: