DirectX SDK |
The DirectInputEnumEffects.GetType method retrieves information about the type and capabilities of the effect.
object.GetType(i As Long) As CONST_DIEFTFLAGS
The method returns flags from the CONST_DIEFTFLAGS enumeration giving information about the effect.
If the method fails, it raises an error and Err.Number will be set.
The effect type is stored in the low byte and can be retrieved by a bitwise And with &HFF.