Platform SDK: DirectX

DirectInputEnumEffects.GetCount

The DirectInputEnumEffects.GetCount method returns the number of enumerated effects in the collection.

object.GetCount() As Long

Parameters

object
Object expression that resolves to a DirectInputEnumEffects object.

Return Values

The method returns the number of items in the collection.

Error Codes

If the method fails, it raises an error and Err.Number will be set.