Microsoft DirectX 8.1 (Visual Basic) |
Retrieves the state of the device's force-feedback system.
object.GetForceFeedbackState() As CONST_DIGFFSFLAGS
Returns flags from the CONST_DIGFFSFLAGS enumeration that describe the current state of the device's force-feedback system.
Applications should ignore any flags that are not currently defined.
If the method fails, an error is raised and Err.Number may be one of the following error codes.
DIERR_INPUTLOST |
DIERR_INVALIDPARAM |
DIERR_NOTEXCLUSIVEACQUIRED |
DIERR_NOTINITIALIZED |
DIERR_UNSUPPORTED |
The device must be acquired at the exclusive cooperative level for this method to succeed.