Structure SP_DEVINFO_DATA
Public cbSize As Integer
Public ClassGuid As Guid
Public DevInst As Integer
Public Reserved As IntPtr
End Structure
Declare Function SetupDiEnumDeviceInfo Lib "setupapi.dll" (ByVal
DeviceInfoSet As IntPtr, ByVal MemberIndex As Integer, ByRef
DeviceInfoData As SP_DEVINFO_DATA) As Boolean