The DirectInputEnumDeviceObjects.GetCount method returns the number of items in the DirectInputEnumDeviceObjects collection.
object.GetCount() As Long
The method returns the number of device objects enumerated for the device.
None.