CONST_DIEPFLAGS
Miscellaneous flags for effects. Some members are passed to the DirectInputEffect.SetParameters method to specify which parameters are being set and the subsequent behavior of the effect. Some members are returned by the DirectInputEnumEffects.GetStaticParams and DirectInputEnumEffects.GetDynamicParams methods to describe support for the parameter.
Enum CONST_DIEPFLAGS
DIEP_ALLPARAMS = 1023 (&H3FF)
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_STARTDELAY = 512 (&H200)
DIEP_TRIGGERBUTTON = 8
DIEP_TRIGGERREPEATINTERVAL = 16 (&H10)
DIEP_TYPESPECIFICPARAMS = 256 (&H100)
End Enum
Constants
- DIEP_ALLPARAMS
- Not used.
- DIEP_AXES
- Not used
- DIEP_DIRECTION
- The x and y members of DIEFFECT are valid, or a 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 of DIEFFECT 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 of DIEFFECT is valid.
- DIEP_START
- Start the effect immediately.
- DIEP_STARTDELAY
- The lStartDelay member of DIEFFECT is valid, or the effect supports delayed start.
- DIEP_TRIGGERBUTTON
- The lTriggerButton member of DIEFFECT is valid, or the effect supports a trigger button.
- DIEP_TRIGGERREPEATINTERVAL
- The lTriggerRepeatInterval member of DIEFFECT 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 DirectInputEnumEffects.GetStaticParams for all standard effects and for hardware-specific effects with application-modifiable parameters. Microsoft® DirectX® for Microsoft Visual Basic® supports hardware effects only if they do not have this flag set.