LibUsbDotNet 2.2.8
GetDevicePathList Method (interfaceGuid, devicePathList)
Library ReferenceLibUsbDotNet.WinUsbWinUsbDeviceGetDevicePathList(Guid, List<(Of <<'(String>)>>)%)
LibUsbDotNet on SourceForge
Gets a list a valid, connected WinUSB device inteface paths for the a given WinUSB device interface guid.
Declaration Syntax
C#Visual BasicVisual C++
public static bool GetDevicePathList(
	Guid interfaceGuid,
	out List<string> devicePathList
)
Public Shared Function GetDevicePathList ( _
	interfaceGuid As Guid, _
	<OutAttribute> ByRef devicePathList As List(Of String) _
) As Boolean
public:
static bool GetDevicePathList(
	Guid interfaceGuid, 
	[OutAttribute] List<String^>^% devicePathList
)
Parameters
interfaceGuid (Guid)
A WinUSB DeviceInterfaceGUID. This is set in the usb devices inf file when the drivers for it are installed.
devicePathList (List<(Of <(<'String>)>)>%)
A list of connected WinUSB device inteface paths.
Return Value
True if one or more device paths were found. False if no devices are found or an error occured. UsbErrorEvent

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)