Microsoft DirectX 8.1 (Visual Basic)

CONST_DIEFFFLAGS

Used in the lFlags member of the DIEFFECT type.

Enum CONST_DIEFFFLAGS
    DIEFF_CARTESIAN     = 16 (&H10)
    DIEFF_OBJECTOFFSETS =  2 
    DIEFF_POLAR         = 32 (&H20)
End Enum

Constants

DIEFF_CARTESIAN
The direction of the effect is given in Cartesian coordinates. DIEFFECT.x and DIEFFECT.y contain valid values.
DIEFF_OBJECTOFFSETS
The value of the lTriggerButton member of DIEFFECT is the offset of the button in the data structure for the device.
DIEFF_POLAR
The direction of the effect is given in polar coordinates. DIEFFECT.x contains a valid value.

Remarks

The default behavior of DirectInputDevice8.CreateEffect and DirectInputDevice8.CreateCustomEffect is to create the effect as if DIEFFECT.lFlags contained (DIEFF_OBJECTOFFSETS Or DIEFF_POLAR). In other words, it is not necessary to specify these flags.