Platform SDK: DirectX

DirectInputDeviceObjectInstance.GetDimension

The DirectInputDeviceObjectInstance.GetDimension method retrieves a HID code for the dimensional units in which the object's value is reported.

object.GetDimension() As Long

Parameters

object
Object expression that resolves to a DirectInputDeviceObjectInstance object.

Return Values

The method returns a code for the dimensional units in which the object's value is reported, if known, or 0 if not known.

Error Codes

If the method fails, an error is raised and Err.Number will be set.

See Also

DirectInputDeviceObjectInstance.GetExponent