VJFORCEREG structure
The VJFORCEREG structure registers the callbacks to the ring 0 (kernel-mode) force-feedback driver.
Syntax
typedef struct {
DWORD dwSize;
SETGAINRTN fpSetFFGain;
SENDFFCOMMANDRTN fpSendFFCommand;
GETFFSTATERTN fpGetFFState;
DOWNLOADEFFECTRTN fpDownloadEff;
DESTROYEFFECTRTN fpDestroyEff;
STARTEFFECTRTN fpStartEff;
STOPEFFECTRTN fpStopEff;
GETEFFECTSTATUSRTN fpGetStatusEff;
} VJFORCEREG, *VJLPFORCEREG;
Members
dwSize
Specifies the size, in bytes, of the structure. This member must be initialized before the structure is used.fpSetFFGain
Points to the SetGain callback.fpSendFFCommand
Points to the SendForceFeedbackCommand callback.fpGetFFState
Points to the GetForceFeedbackState callback.fpDownloadEff
Points to the DownloadEffect callback.fpDestroyEff
Points to the DestroyEffect callback.fpStartEff
Points to the StartEffect callback.fpStopEff
Points to the StopEffect callback.fpGetStatusEff
Points to the GetEffectStatus callback.