CONST_DINPUTERR
The CONST_DINPUTERR enumeration contains the error codes for Microsoft® DirectInput®. All the error codes and definitions can be found in the Error Codes topic.
Enum CONST_DINPUTERR
DI_OK = 0
DIERR_ACQUIRED = -2147024726 (&H800700AA)
DIERR_ALREADYINITIALIZED = -2147023649 (&H800704DF)
DIERR_BADDRIVERVER = -2147024777 (&H80070077)
DIERR_BETADIRECTINPUTVERSION = -2147023743 (&H80070481)
DIERR_DEVICEFULL = -2147220991 (&H80040201)
DIERR_DEVICENOTREG = -2147221164 (&H80040154)
DIERR_EFFECTPLAYING = -2147220984 (&H80040208)
DIERR_GENERIC = -2147467259 (&H80004005)
DIERR_HANDLEEXISTS = -2147024891 (&H80070005)
DIERR_HASEFFECTS = -2147220988 (&H80040204)
DIERR_INCOMPLETEEFFECT = -2147220986 (&H80040206)
DIERR_INPUTLOST = -2147024866 (&H8007001E)
DIERR_INVALIDHANDLE = -2147024890 (&H80070006)
DIERR_INVALIDPARAM = 5
DIERR_MOREDATA = -2147220990 (&H80040202)
DIERR_NOAGGREGATION = -2147467262 (&H80004002)
DIERR_NOINTERFACE = 430 (&H1AE)
DIERR_NOTACQUIRED = -2147024884 (&H8007000C)
DIERR_NOTBUFFERED = -2147220985 (&H80040207)
DIERR_NOTDOWNLOADED = -2147220989 (&H80040203)
DIERR_NOTEXCLUSIVEACQUIRED = -2147220987 (&H80040205)
DIERR_NOTFOUND = -2147024894 (&H80070002)
DIERR_NOTINITIALIZED = -2147024875 (&H80070015)
DIERR_OBJECTNOTFOUND = -2147024894 (&H80070002)
DIERR_OLDDIRECTINPUTVERSION = -2147023746 (&H8007047E)
DIERR_OTHERAPPHASPRIO = -2147024891 (&H80070005)
DIERR_OUTOFMEMORY = 7
DIERR_READONLY = -2147024891 (&H80070005)
DIERR_REPORTFULL = -2147220982 (&H8004020A)
DIERR_UNPLUGGED = -2147220983 (&H80040209)
DIERR_UNSUPPORTED = 445 (&H1BD)
E_PENDING = -2147024889 (&H80070007)
End Enum
Constants
- DI_OK
- Success.
- DIERR_ACQUIRED
- The operation cannot be performed while the device is acquired.
- DIERR_ALREADYINITIALIZED
- This object is already initialized.
- DIERR_BADDRIVERVER
- The object could not be created due to an incompatible driver version or mismatched or incomplete driver components.
- DIERR_BETADIRECTINPUTVERSION
- The application was written for an unsupported prerelease version of DirectInput.
- DIERR_DEVICEFULL
- The device is full.
- DIERR_DEVICENOTREG
- The device or device instance is not registered with DirectInput. This value is equal to the REGDB_E_CLASSNOTREG standard COM return value.
- DIERR_EFFECTPLAYING
- The parameters were updated in memory but were not downloaded to the device because the device does not support updating an effect while it is still playing.
- DIERR_GENERIC
- An undetermined error occurred inside the DirectInput subsystem. This value is equal to the E_FAIL standard COM return value.
- DIERR_HANDLEEXISTS
- The device already has an event notification associated with it. This value is equal to the E_ACCESSDENIED standard COM return value.
- DIERR_HASEFFECTS
- The device cannot be reinitialized because effects are attached to it.
- DIERR_INCOMPLETEEFFECT
- The effect could not be downloaded because essential information is missing. For example, no axes have been associated with the effect, or no type-specific information has been supplied.
- DIERR_INPUTLOST
- Access to the input device has been lost. It must be reacquired.
- DIERR_INVALIDHANDLE
- An invalid window handle was passed to the method.
- DIERR_INVALIDPARAM
- An invalid parameter was passed to the returning function, or the object was not in a state that permitted the function to be called. This value is equal to the E_INVALIDARG standard COM return value.
- DIERR_MOREDATA
- Not all the requested information fitted into the buffer.
- DIERR_NOAGGREGATION
- This object does not support aggregation.
- DIERR_NOINTERFACE
- The specified interface is not supported by the object. This value is equal to the E_NOINTERFACE standard COM return value.
- DIERR_NOTACQUIRED
- The operation cannot be performed unless the device is acquired.
- DIERR_NOTBUFFERED
- The device is not buffered. Set the DIPROP_BUFFERSIZE property to enable buffering.
- DIERR_NOTDOWNLOADED
- The effect is not downloaded.
- DIERR_NOTEXCLUSIVEACQUIRED
- The operation cannot be performed unless the device is acquired in DISCL_EXCLUSIVE mode.
- DIERR_NOTFOUND
- The requested object does not exist.
- DIERR_NOTINITIALIZED
- The object has not been initialized.
- DIERR_OBJECTNOTFOUND
- The requested object does not exist.
- DIERR_OLDDIRECTINPUTVERSION
- The application requires a newer version of DirectInput.
- DIERR_OTHERAPPHASPRIO
- Another application has a higher priority level, preventing this call from succeeding. This value is equal to the E_ACCESSDENIED standard COM return value. This error can be returned when an application has only foreground access to a device but is attempting to acquire the device while in the background.
- DIERR_OUTOFMEMORY
- The DirectInput subsystem couldn't allocate sufficient memory to complete the call. This value is equal to the E_OUTOFMEMORY standard COM return value.
- DIERR_READONLY
- The specified property cannot be changed. This value is equal to the E_ACCESSDENIED standard COM return value.
- DIERR_REPORTFULL
- More information was requested to be sent than can be sent to the device.
- DIERR_UNPLUGGED
- The operation could not be completed because the device is not plugged in.
- DIERR_UNSUPPORTED
- The function called is not supported at this time. This value is equal to the E_NOTIMPL standard COM return value.
- E_PENDING
- Data is not yet available.