Microsoft DirectX 8.1 (Visual Basic)

DirectInputEnumDevices8.GetItem

Returns information about an enumerated device.

object.GetItem(index As Long) As DirectInputDeviceInstance8

Parts

object
Resolves to a DirectInputEnumDevices8 object.
index
Index of the device in the DirectInputEnumDevices8 collection.

Return Values

Returns a DirectInputDeviceInstance8 object whose methods can be used to retrieve information about the device.

Error Codes

If the method fails, an error is raised and Err.Number is set.

Remarks

To get the number of entries in DirectInputEnumDevices8 first call the DirectInputEnumDevices8.GetCount method.