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: 184.108.40.206 (220.127.116.11)
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: