CONST_DIEPFLAGS
Members of the CONST_DIEPFLAGS enumeration are passed to the DirectInputEffect.SetParameters method in order to specify which parameters are being set, and the subsequent behavior of the effect. Some members are also returned by the DirectInputEnumEffects.GetStaticParams and DirectInputEnumEffects.GetDynamicParams methods, giving information about support for the parameter.
Enum CONST_DIEPFLAGS
DIEP_ALLPARAMS = 511 (&H1FF)
DIEP_AXES = 32 (&H20)
DIEP_DIRECTION = 64 (&H40)
DIEP_DURATION = 1
DIEP_ENVELOPE = 128 (&H80)
DIEP_GAIN = 4
DIEP_NODOWNLOAD = -2147483648 (&H80000000)
DIEP_NORESTART = 1073741824 (&H40000000)
DIEP_SAMPLEPERIOD = 2
DIEP_START = 536870912 (&H20000000)
DIEP_TRIGGERBUTTON = 8
DIEP_TRIGGERREPEATINTERVAL = 16 (&H10)
DIEP_TYPESPECIFICPARAMS = 256 (&H100)
End Enum
- DIEP_ALLPARAMS
- Not used.
- DIEP_AXES
- Not used.
- DIEP_DIRECTION
- The x and y members of DIEFFECT are valid, or the direction parameter is supported. If you are setting or requesting effect parameters, you can specify that the direction is supplied or is to be returned in either Cartesian or polar coordinates by specifying DIEFF_CARTESIAN or DIEFF_POLAR in DIEFFECT.lFlags.
- DIEP_DURATION
- The lDuration member of DIEFFECT is valid, or the effect supports changing of the duration.
- DIEP_ENVELOPE
- The envelope member of DIEFFECT is valid, or the effect supports the application of an envelope.
- DIEP_GAIN
- The lGain member is valid, or the effect supports the application of gain.
- DIEP_NODOWNLOAD
- After setting parameters, the effect is not to be downloaded.
- DIEP_NORESTART
- Suppress the stopping and restarting of the effect in order to change parameters.
- DIEP_SAMPLEPERIOD
- The lSamplePeriod member is valid.
- DIEP_START
- After setting parameters, start the effect immediately.
- DIEP_TRIGGERBUTTON
- The lTriggerButton member is valid, or the effect supports a trigger button.
- DIEP_TRIGGERREPEATINTERVAL
- The lTriggerRepeatInterval member is valid, or the effect supports trigger repeat.
- DIEP_TYPESPECIFICPARAMS
- The effect has type-specific parameters that can be changed by the application. This value is returned by GetStaticParams for all standard effects and for hardware-specific effects with application-modifiable parameters. DirectX for Visual Basic supports hardware effects only if they do not have this flag set.