Microsoft DirectX 8.1 (Visual Basic) |
Enumerates force-feedback effects supported by the device, including standard effects as well as effects designed by the device manufacturer.
object.GetEffectsEnum( _ effType As CONST_DIEFTFLAGS _ ) As DirectInputEnumEffects
DIEFT_ALL
DIEFT_CONDITION
DIEFT_CONSTANTFORCE
DIEFT_CUSTOMFORCE
DIEFT_HARDWARE
DIEFT_PERIODIC
DIEFT_RAMPFORCE
Returns a DirectInputEnumEffects object whose methods can be used to retrieve information about the effects.
If the method fails, an error is raised and Err.Number is set.