Public Method FindDeviceFromGuid

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.
TestGuidRequired. A Guid Value. Interface class GUID.
DevicePathNameRequired. A String Value. A pointer to the device path name of an attached device.
MemberIndexRequired. A Long Value.