DirectX SDK |
The DirectInputEnumEffects.GetCount method returns the number of enumerated effects in the collection.
object.GetCount() As Long
The method returns the number of items in the collection.
If the method fails, it raises an error and Err.Number will be set.