Microsoft DirectX 8.1 (Visual Basic) |
Retrieves information about a device object such as a button or axis.
object.GetObjectInfo( _ obj As Long, _ how As CONST_DIPHFLAGS) _ As DirectInputDeviceObjectInstance
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 |