DirectX SDK |
The DirectInputDevice.GetObjectInfo method retrieves information about a device object such as a button or axis.
object.GetObjectInfo( _ Obj As Long, _ how As CONST_DIPHFLAGS) _ As DirectInputDeviceObjectInstance
The method returns a DirectInputDeviceObjectInstance object whose methods can be used to retrieve information about the object.
If the method fails, an error is raised and Err.Number may be one of the following error codes:
DIERR_INVALIDPARAM |
DIERR_OBJECTNOTFOUND |