DirectX SDK |
The DirectInputEnumDevices.GetItem method returns information about an enumerated device.
object.GetItem(index As Long) As DirectInputDeviceInstance
The method returns a DirectInputDeviceInstance object whose methods can be used to retrieve information about the device.
If the method fails, an error is raised and Err.Number will be set.
To get the number of entries in DirectInputEnumDevices first call the DirectInputEnumDevices.GetCount method.