DIRAMPFORCE

The DIRAMPFORCE structure contains type-specific information for effects that are marked as DIEFT_RAMPFORCE. The structure describes a ramp force effect.

A pointer to a single DIRAMPFORCE structure for an effect is passed in the lpvTypeSpecificParams member of the DIEFFECT structure.

typedef struct DIPROPRANGE {

LONG lStart;

LONG lEnd;

} DIRAMPFORCE, *LPDIRAMPFORCE;

typedef const DIRAMPFORCE *LPCDIRAMPFORCE;

Members

lStart

The magnitude at the start of the effect, in the range -10,000 to +10,000.

lEnd

The magnitude at the end of the effect, in the range -10,000 to +10,000.

Remarks

The dwDuration for a ramp force effect cannot be INFINITE.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Use Windows 95 OSR2 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in dinput.h.