Opens a WinUsb directly from the user supplied device path.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static bool Open( string devicePath, out WinUsbDevice usbDevice )
Public Shared Function Open ( _ devicePath As String, _ <OutAttribute> ByRef usbDevice As WinUsbDevice _ ) As Boolean
public: static bool Open( String^ devicePath, [OutAttribute] WinUsbDevice^% usbDevice )
Parameters
- devicePath (String)
- Device path (symbolic link) of the WinUsb device to open.
- usbDevice (WinUsbDevice%)
- Returns an opened WinUsb device on success, null on failure.
Return Value
True on success.