Platform SDK: DirectX |
The DirectInputEnumEffects.GetName method retrieves the name of the effect.
object.GetName(i As Long) As String
The method returns the name of the effect, such as "Constant Force".
If the method fails, it raises an error and Err.Number will be set.