Microsoft DirectX 8.1 (Visual Basic) |
In Microsoft® DirectX® for Microsoft Visual Basic®, information about a supported effect must be obtained from the DirectInputEnumEffects enumeration object. See Effect Enumeration.
The following code example gets information about the first enumerated effect and determines whether the direction of the effect can be changed without stopping and restarting it. Assume that diEnumEffects is an initialized DirectInputEnumEffects object.
Dim params As Long params = diEnumEffects.GetDynamicParams(1) If params And DIEP_DIRECTION Then Debug.Print "Direction is dynamic." End If