Platform SDK: DirectX |
The DirectInputDeviceObjectInstance.GetCollectionNumber method retrieves the number of the HID link collection to which the device object belongs.
object.GetCollectionNumber() As Integer
If the device is a Human Interface Device and the object belongs to a collection, the method returns the number of the collection.
If the method fails, an error is raised and Err.Number will be set.