Microsoft DirectX 8.1 (Visual Basic)

DirectInputDevice8.SendForceFeedbackCommand

Sends a command to the device's force-feedback system.

object.SendForceFeedbackCommand(flags As Long)

Parts

object
Resolves to a DirectInputDevice8 object.
flags
A single value indicating the desired change in state. The value may be one of the members of the CONST_DISFFCFLAGS enumeration.

Error Codes

If the method fails, an error is raised and Err.Number may be one of the following error codes.

DIERR_INPUTLOST
DIERR_NOTACQUIRED
DIERR_REPORTFULL
DIERR_UNPLUGGED