Use SetupDi (Setup Device Installation) API functions to retrieve the device path name of an
attached device that belongs to a device interface class.
Returns True if a device is found, False if not.
Type Return
A Boolean Value
Syntax
Object.FindDeviceFromGuid ( TestGuid, DevicePathName, MemberIndex)
The FindDeviceFromGuid Methods syntax has these parts:
Part | Description |
object | An expression evaluating to an Object of type modWinUSB. |
TestGuid | Required. A Guid Value. Interface class GUID. |
DevicePathName | Required. A String Value. A pointer to the device path name of an attached device. |
MemberIndex | Required. A Long Value. |