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;
 The dwDuration for a ramp force effect cannot be INFINITE.
  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dinput.h.