DirectX SDK |
The DirectInputEnumDeviceObjects.GetItem method retrieves an object describing the specified device object.
object.GetItem(index As Long) _ As DirectInputDeviceObjectInstance
If the method fails, an error is raised and Err.Number will be set.
To get the number of entries in the DirectInputEnumDeviceObjects first call the DirectInputEnumDeviceObjects.GetCount method.