DIRAMPFORCE
Microsoft DirectX 9.0 SDK Update (October 2004)

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.

Syntax

typedef struct DIRAMPFORCE { 
    LONG lStart; 
    LONG lEnd; 
} DIRAMPFORCE, *LPDIRAMPFORCE; 
 
typedef const DIRAMPFORCE *LPCDIRAMPFORCE;

Members

lStart
Magnitude at the start of the effect, in the range from –10,000 through 10,000.
lEnd
Magnitude at the end of the effect, in the range from –10,000 through 10,000.

Remarks

The dwDuration for a ramp force effect cannot be INFINITE.

Structure Information

Headerdinput.h
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.